5
53
620
高级会员
使用道具 举报
10
663
5362
论坛元老
trigger: - platform: time at: "22:50" condition: condition: and conditions: - condition: state entity_id: "input_boolean.yhp" state: "not_home" - condition: state entity_id: "switch.chuangmi_m3_475d_switch" state: "on" action: - service: switch.turn_on target: entity_id: switch.sonoff_10002afcfe_4
11
164
1858
金牌会员
缥缈的孤鸿 发表于 2022-4-10 23:07 你这个trigger是to on,好像只有在设备从别的状态变为on才会触发,设置为时间试试?
735473216 发表于 2022-4-11 08:24 你的需求:每到22:50分,判断switch开着并且yhp不在家,就打开一个switch 触发:到指定时间点 条件:swtich ...
19
478
2670
wdmywm3 发表于 2022-4-11 21:09 一般这种触发需要一个变化的过程 你设置B状态触发,得从A状态变到B状态,然后才会触发,一直是B的话不会触 ...
本版积分规则 发表回复 回帖后跳转到最后一页
Archiver|手机版|小黑屋|Hassbian
GMT+8, 2024-6-4 01:01 , Processed in 0.755527 second(s), 29 queries .
Powered by Discuz! X3.4
Copyright © 2001-2021, Tencent Cloud.