I have a blueprint which switches off lights automatically when no motion is detected. This blueprint uses a predefined set of conditions.
I want the user to be able to add any number of optional conditions which also must be met. How do you do this? Normally I would use condition: []
; but how do I combine this with my predefined conditions?
I tried:
condition:
- condition: state
entity_id: !input 'light_entity'
state: 'on'
for:
minutes: !input 'wait_time_selector'
- condition: state
entity_id: !input 'motion_entity'
state: 'off'
for:
minutes: !input 'wait_time_selector'
- []
But that obviously does not work.