Is it possibe to make make 2 installations of Home Assistant on 2 different hardware (A and B) on local network - and make an automation on A (ex. light) which turns on the light on “B”.
Either use
or
- mqtt_statestream/mqtt-eventstream
MQTT Statestream - Home Assistant
MQTT Eventstream - Home Assistant
1 Like
Thanks, i will try
The Rest API in an automation is probably easiest for a single switch.
Just create an automation that looks for state change of switch and sets state equal on other switch. Maybe have the one automation on “main HA” that controls that sets “remote HA” switch equal when main switch change or changes main if remote changes.