Hello,
i’ve added almost all my sensor and switch to Home Assistant, now i’m working with automation, for example i’ve 2 room (camera = bedroom, salotto = livingroom) configured in the same way, one yeelight wifi bulb (that are discovered automatically) and two xioami switch, the configuration of the automation is the following
the problem is that if i click one of the “salotto” switch the “salotto” light turn off and the “camera” light turn on
same for the switch in the other room, if i click one it will toggle both the light
if i remove one of the two automation the switch will toggle only one of the light (the correct one), but as you can see the id of the switch are all different and also of the light, did i miss something or have i done something wrong ?
but still same beavier when i click every button both the light will toggle, in can that as those light are discovered automatically? because if i try to add it manually in the configuration nothing change, still the 2 automatically deteced will show up
please help me because i relly don’t know what to do
Because I have two switch in every room that have to control the light
So that’s why same trigger for on and off, but the same trigger it’s only on the same room, so same light I don’t understand why one trigger will turn off/on the other light
I was also thinking that the Id of the switch are wrong but in that case one switch it will only control the other room light, I don’t understand why both
bu again then it’s like they work together in a group (that i haven’t defined, but what happen to one light, also happend to the other, but only if i have both in the automation file)