From 2f11927bb6fc1e65d21804796d840199d3dc0e7b Mon Sep 17 00:00:00 2001 From: Matthew Grove Date: Fri, 1 Aug 2025 21:29:25 +0100 Subject: [PATCH] [FIX] State checks for multiple entities simultaneously --- motion-sensing-lights.yaml | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/motion-sensing-lights.yaml b/motion-sensing-lights.yaml index 868b7a3..568f3fa 100644 --- a/motion-sensing-lights.yaml +++ b/motion-sensing-lights.yaml @@ -162,13 +162,10 @@ action: sequence: - service: switch.turn_on target: !input entity_target - - wait_for_trigger: - platform: state - entity_id: !input motion_sensors - to: "off" - if: - condition: state entity_id: !input motion_sensors + match: any state: "on" then: - wait_for_trigger: