Hi,
I would like to send an ssh command when ha reboots.
Is this possible (with hass.io)?
Should something like this
- alias: Reboot server via SSH
initial_state: 'on'
trigger:
- event: start
platform: homeassistant
action:
# SSH command (sudo reboot)
# ssh ip
# ssh user
# ssh password
I want to remotly reboot another raspbarry pi after ha reboots.
Thanks