Hi,
first my setup:
I have some wall switch conected over UTP to esp board (as digital input) with esphome - this switches are integrated to HA as switch.
I have some lights over relayboard conected to esp board with esphome and integrated to HA as light.
I want “join” switches and lights. I dont want integrate switch as lights - it seems to me little messy.
I know I can make automatizations like: turn switch on/off → turn light on/off.
But it makes lot of automations (maybe I can make it easier by blueprints, I dont know them yet well).
Do you have any other idea?