fix: remove dependency on zha device id when using z2m (#29)

This commit is contained in:
Jonathan Merlevede
2025-04-21 09:36:17 +02:00
committed by GitHub
parent a018c70e93
commit 1b131138fe

View File

@@ -314,7 +314,7 @@ variables:
off_double_press_exposed: !input off_double_press_exposed off_double_press_exposed: !input off_double_press_exposed
remote_devices: !input remote_devices remote_devices: !input remote_devices
remote_devices_names: "{{ remote_devices | map('device_attr', 'name') | list }}" remote_devices_names: "{{ remote_devices | map('device_attr', 'name') | list }}"
zha_device_id: "{{ trigger.event.data.device_id }}" zha_device_id: "{{ trigger.event.data.device_id if is_zha }}"
condition: condition:
- condition: template - condition: template
value_template: >- value_template: >-