IKEA RODRET + SOMRIG + TRADFRI Remotes - ZHA/Z2M - Control anything

@nisay @ArronTay

Can you give me more info ?
Which integration are you using (ZHA/Z2M)? If Z2M, which version?
Did you update the blueprint path in your automation after update ?
Did you update the remote selection ?
Can you share a workflow execution or an error message of any kind ?

Thanks

Hi @damru

The variable remote_device is empty.

Here are the changed variables of the trigger event:

this:
  entity_id: automation.mh_auto_rodret_test
  state: 'on'
  attributes:
    id: '1739280869073'
    last_triggered: null
    mode: restart
    current: 0
    friendly_name: MH Auto Rodret (Test)
  last_changed: '2025-02-11T13:34:53.866733+00:00'
  last_reported: '2025-02-11T13:34:53.866913+00:00'
  last_updated: '2025-02-11T13:34:53.866733+00:00'
  context:
    id: 01JKTKGHXA93Y1HQ5KKRJG66JG
    parent_id: null
    user_id: null
trigger:
  id: press-on-zha-e1743-e2201
  idx: '0'
  alias: null
  platform: event
  event:
    event_type: zha_event
    data:
      device_ieee: c4:d8:c8:ff:fe:5a:df:82
      unique_id: c4:d8:c8:ff:fe:5a:df:82:1:0x0006
      device_id: e784a2d9ed7c77aa4bd156a8072e9d6c
      endpoint_id: 1
      cluster_id: 6
      command: 'on'
      args: []
      params: {}
    origin: LOCAL
    time_fired: '2025-02-11T13:35:45.713170+00:00'
    context:
      id: 01JKTKJ4HHDGXXX6X9P69CGF45
      parent_id: null
      user_id: null
  description: event 'zha_event'
helper_force_brightness: false
helper_hold_delay: 0.1
helper_hold_dim_step: 4
light: light.mh_deckenlicht
remote_devices:
  - e784a2d9ed7c77aa4bd156a8072e9d6c
remote_device: ''
mqtt_topic: ''

Hope it helps!

Hey @LtKowalski

Please refer to this, the input remote_device was renamed to remote_devices to reflect that you can now select more than one.

Hi @damru

Yes, the remote_devices list. This is basically configured when you make an automation from the blueprint.
But in step 2 of the automation, after the trigger event, there is a comparison of the variable called remote_device to the list called remote_devices:

But from my last post you can see that it cannot match because the variable is an empty string: remote_device: ''
But the correct value for the variable is in device_id.

And just for the records: My HAOS version is 14.2, Home Assistant core is 2025.2.2, the blueprint version is 2.2 (the light variant).
To verify that I didn’t do anything wrong I created the automation fresh from the latest blueprint.
:slight_smile:

Thanks!

Are you using ZHA integration ? If so, could you update the blueprint and try again?

1 Like

Yes, I’m using ZHA.

Awesome! You’ve fixed it!
Works perfectly now!

remote_devices:
  - e784a2d9ed7c77aa4bd156a8072e9d6c
remote_device: e784a2d9ed7c77aa4bd156a8072e9d6c

Thank you! :+1: