Hi, I have a BLE RGB lamp that I control via an ESP32. I want another relay to go off after I turn off the light entity and when I turn the light on, the relay to go back on BEFORE. I can control the relay via KNX, the entity is there, but how do I tell Home Assistant that the relay goes on before it is turned on and off after it is turned off.