Dear HA users,
I have several RPi’s with sensors and pass their results on to the broker (my HASS) with mqtt. Sometimes a satellite RPi loses the connection with the server. At that point I would like to reboot into this ‘remotely’. From the command line I can do this with `'ssh -i /home/pi/.ssh/ppk ‘[email protected]’ sudo reboot"
Now my question is: can I also do this from HASS (possibly in Python with appdaemon)?