I am having some trouble with an automation, which I cannot wrap my head around
What works:
I have two Ikea tradfri remotes, that are fully working (If I look in “devices” I can see the remotes, if I press the buttons, HA shows me that the button was pressed)
I have an automation, that, whenever the toggle button on one of the remotes is pressed, the light in a room is toggled.This works for remote No 1 flawlessly. If I do not use the toggle button on remote No2 but another button, I can also toggle the light in this automation.
What does not work:
The toggle button of remote No. 2, although HA registers the click and all, does not trigger the automation
Well, the automation works flawless with remote 1. The trigger part of remote 1 shows a “triggered” info when I press the button and everything is well. the trigger part of remote 2 is exactly configured as for remote 1, but does not show the “triggered” info if the button is pressed.
If I look at the “devices” both remotes behave the same, when I press the button on remote 1 or 2, HA registers the button click.
So I solved the problem. It was not the automation, but the Zigbee2mqtt addon. I renamed the remote2 in there and suddenly everything worked as expected.