I've got a 4 button remote and I plan to use it to control a light, I'd love to code it in a way that I have everything on the same automation so I can just duplicate the automation, change the ID of the remote, the one of the light and everything else just works.
My issue (for now) are the triggers. I can't use a variable to store the device id of the remote and then use it on the triggers as it seems it's not supported.
So I thought... can I have the automation trigger on ALL events from the remote and then have a "choose:" action based on the event that triggered it?
Also I'm open to any other solution that I might have missed 😄
(If it matters, both the remotes and the lights are ZHA devices, might want to add shutters to the remote too, shelly ones, but one thing at a time :D)