mirror of
https://github.com/brianhanifin/esphome-config.git
synced 2026-07-27 19:55:41 +00:00
tweak logic
This commit is contained in:
+1
-1
@@ -54,6 +54,6 @@ text_sensor:
|
||||
for:
|
||||
time: 10min
|
||||
condition:
|
||||
- lambda: return id(online_state).state == "not_home";
|
||||
- lambda: return id(online_state).state != "home";
|
||||
then:
|
||||
- switch.turn_off: relay
|
||||
|
||||
Reference in New Issue
Block a user