# Restart Homebridge on HASS start # shell_command: # restart_homebridge: 'sudo su pi -c "pm2 restart homebridge"' # start_homebridge: 'sudo su pi -c "pm2 start homebridge"' # stop_homebridge: 'sudo su pi -c "pm2 stop homebridge"'