Try set current light without conditions
This commit is contained in:
@@ -90,9 +90,6 @@ action:
|
|||||||
sequence:
|
sequence:
|
||||||
- service: homeassistant.toggle
|
- service: homeassistant.toggle
|
||||||
target: !input "first_light"
|
target: !input "first_light"
|
||||||
- choose:
|
|
||||||
- conditions: "{{ current_light != none }}"
|
|
||||||
sequence:
|
|
||||||
- service: input_text.set_value
|
- service: input_text.set_value
|
||||||
target:
|
target:
|
||||||
entity_id: !input "current_light"
|
entity_id: !input "current_light"
|
||||||
|
|||||||
Reference in New Issue
Block a user