From 1b131138fe0434f5ae8978a869915bb2a64f96b3 Mon Sep 17 00:00:00 2001 From: Jonathan Merlevede Date: Mon, 21 Apr 2025 09:36:17 +0200 Subject: [PATCH] fix: remove dependency on zha device id when using z2m (#29) --- ikea_E1743-E2201-E2213_ZHA-Z2M_control-anything.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ikea_E1743-E2201-E2213_ZHA-Z2M_control-anything.yaml b/ikea_E1743-E2201-E2213_ZHA-Z2M_control-anything.yaml index f715fee..4910f45 100644 --- a/ikea_E1743-E2201-E2213_ZHA-Z2M_control-anything.yaml +++ b/ikea_E1743-E2201-E2213_ZHA-Z2M_control-anything.yaml @@ -314,7 +314,7 @@ variables: off_double_press_exposed: !input off_double_press_exposed remote_devices: !input remote_devices 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: template value_template: >-