From eaf97cf14e696a0bd7eb83174edcfe3ae51672bb Mon Sep 17 00:00:00 2001 From: Pavel Kachalouski Date: Sun, 1 Dec 2024 20:49:31 +0100 Subject: [PATCH] Try set current light without conditions --- philips_zigbee_dial.yaml | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) diff --git a/philips_zigbee_dial.yaml b/philips_zigbee_dial.yaml index a163e5c..f4bdae6 100644 --- a/philips_zigbee_dial.yaml +++ b/philips_zigbee_dial.yaml @@ -90,14 +90,11 @@ action: sequence: - service: homeassistant.toggle target: !input "first_light" - - choose: - - conditions: "{{ current_light != none }}" - sequence: - - service: input_text.set_value - target: - entity_id: !input "current_light" - data: - value: first_light + - service: input_text.set_value + target: + entity_id: !input "current_light" + data: + value: first_light - conditions: - "{{ command == 'recall' }}" - "{{ second_light != none }}"