From f03a37f9c2bdbb497972d49445ed793f50d28fac Mon Sep 17 00:00:00 2001 From: Brian Hanifin Date: Wed, 8 Feb 2023 09:28:32 -0800 Subject: [PATCH] tweak logic --- plug06.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plug06.yaml b/plug06.yaml index 9f6bd66..acbe753 100755 --- a/plug06.yaml +++ b/plug06.yaml @@ -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