I integrated an aqara M1 hub into home assistant using homekit controller. It show in integrations as one device and four entities. My question is how do I change the color of the light with a state change in another entity. I can change the color with a card on the desktop, but I would like to automate the change. My idea is to turn the light green when alarm panel is armed, and red when triggered. I do not even know where to begin.
1 post - 1 participant