diff --git a/hue-dimmer-blueprint.yaml b/hue-dimmer-blueprint.yaml index ba6bb2c..7fce074 100644 --- a/hue-dimmer-blueprint.yaml +++ b/hue-dimmer-blueprint.yaml @@ -30,6 +30,4 @@ actions: mode: single trigger_variables: var_switch: !input switch - var_button1: >- - {% set button1_name = device_name(var_switch) + "_button_1" %} - {{ button1_name }} \ No newline at end of file + var_button1: {{ device_entities("166b8ce10384bb24003d21720b4e6478")[1] }} \ No newline at end of file