I want to build a KNX-like system where the wall switch has a light indicator, that can be used to show the state of the light/switch this switch is controlling. In KNX system, this is called the "feedback" feature where the switch indicator light listens to specific group address. This group with state info is sent from the actuator.
Main light/switch and the indicator switch/light entities are available in home assistant for control. There are many of them, so I am looking for an optimized way to have the link between:
- switch that does to light toggle (control)
- entity state of the main light/switch to propagate the state to the indicator light/switch entity
- sync the data when the home assistant turns on
for now I see the only good way with an automation (or many of them) with blueprint. Eventually creating the names of the entities in a way that I can use templates for the output control with something like light.main_light_indicator where light.main_light is the actual light and _indicator is the indicator entity light.
Any better suggestions?
Talking about the switch as on the picture below.