[FIX] State checks for multiple entities simultaneously
This commit is contained in:
1 parent
62b17da878
commit
2f11927bb6
1 file changed
+1
-4
@@ -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:
|
||||
|
||||
Reference in new issue
Block a user