Hi,
is there a way to trigger an automation based on a device connecting or losing the connection.
For example If light A gets turned on by using the light switch (physically → connecting it to power) I want light B to set its brightness to 100%
and if light A gets disconnected from the power grid and is therefore not reachable by HomeKit anymore I want light B to be set at 0% brightness.
A solution involving homebridge would also be great.
is there a way to trigger an automation based on a device connecting or losing the connection.
For example If light A gets turned on by using the light switch (physically → connecting it to power) I want light B to set its brightness to 100%
and if light A gets disconnected from the power grid and is therefore not reachable by HomeKit anymore I want light B to be set at 0% brightness.
A solution involving homebridge would also be great.