From 0e15fdaa1f11de7fe3adb60c44dce8a4ba4fb1c2 Mon Sep 17 00:00:00 2001 From: Bohdan Bahno Date: Mon, 29 Jun 2026 02:09:24 +0100 Subject: [PATCH] Fix zone triggers --- Occupancy_Socket_Control_with_Notifications.yaml | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/Occupancy_Socket_Control_with_Notifications.yaml b/Occupancy_Socket_Control_with_Notifications.yaml index 82ff93a..9e28c63 100644 --- a/Occupancy_Socket_Control_with_Notifications.yaml +++ b/Occupancy_Socket_Control_with_Notifications.yaml @@ -43,15 +43,13 @@ variables: zone_entity: !input home_zone trigger: - - platform: zone + - platform: numeric_state entity_id: !input home_zone - event: leave - zone: !input home_zone + below: 1 id: home_emptied - - platform: zone + - platform: numeric_state entity_id: !input home_zone - event: enter - zone: !input home_zone + above: 0 id: someone_returned condition: []