[Solved] Xiaomi (Aqara) Switches Strange Problem

Hi!

Strange issue going on here:

i have 1 Aqara square switch in my home assistant config. It has 2 functions; single click (toggle 1 light) and double click (turn off all lights, switches, receiver and tv) . This works great.

BUT that’s not the problem, i have more aqara switches, the round and square ones. When i click one of the others they do the same thing!! But they don’t exist in HA??

Anyone has a idea or better a solution?

Ok, next time i promise to look better in this community; found the answer myself :wink:

I had to change:

event_id: binary_sensor.switch_158d000xxxxxxx

Into:

entity_id: binary_sensor.switch_158d000xxxxxxx