Closes #114 - Restart Homebridge when HASS is restarted.

pull/76/merge
CCOSTAN 9 years ago
parent 2b6a8719c3
commit d60500dbe9

@ -13,7 +13,7 @@
value1: 'Startup: Home Assistant is Up and Running!'
value2: ''
value3: ''
- service: light.turn_off
entity_id: group.hallway_lights
- service: shell_command.restart_homebridge

@ -145,3 +145,4 @@ scene: !include_dir_merge_list scene
switch: !include_dir_merge_list switch
script: !include_dir_merge_named script
input_boolean: !include_dir_merge_named input_boolean
shell_command: !include_dir_merge_named shell_command

@ -0,0 +1,2 @@
restart_homebridge: >-
sudo -u pi -H /usr/bin/pm2 restart homebridge
Loading…
Cancel
Save

Powered by TurnKey Linux.