11
271
3103
论坛元老
#餐厅流明高于500 - alias: test trigger: - platform: event event_type: xiaomi_aqara.click event_data: entity_id: binary_sensor.switch_xxxx click_type: single condition: condition: time after: "00:15:00" before: "08:00:00" action: - service: light.turn_off entity_id: light.milight
使用道具 举报
33
2196
5853
32
986
4233
175
2967
7608
超级版主
我就是六神
27hh 发表于 2021-2-28 17:26 hass的时间我记得是与的关系,你这样相当于没有交集,应当是永远不会执行的,至于为什么16:00到8:00可以 ...
condition: condition: time # At least one of the following is required. after: "15:00:00" before: "02:00:00" weekday: - mon - wed - fri
jyz_0501 发表于 2021-2-28 19:03 ha 条件支持直接跨越天数的。 Time condition windows can span across the midnight threshold if both a ...
27hh 发表于 2021-3-6 01:09 信了文档的鬼话,刚刚又试了一下。跨天的自动化就是永远不会执行,必须手动用or写两个time条件。HA这一点 ...
本版积分规则 发表回复 回帖后跳转到最后一页
教程高产大神,简直就是为了教程而生~
在众坛友心目中具有较高技术与威望,为社区繁荣作出重要贡献
经常参与各类话题的讨论,发帖内容较有主见
经常在论坛发帖,且发帖量较大
Archiver|手机版|小黑屋|Hassbian
GMT+8, 2025-2-26 19:59 , Processed in 0.060276 second(s), 33 queries .
Powered by Discuz! X3.4
Copyright © 2001-2021, Tencent Cloud.