mirror of
https://github.com/CCOSTAN/Home-AssistantConfig.git
synced 2025-02-18 23:36:11 +00:00
Closes #114 - Restart Homebridge when HASS is restarted.
This commit is contained in:
parent
2b6a8719c3
commit
d60500dbe9
@ -13,7 +13,7 @@
|
|||||||
value1: 'Startup: Home Assistant is Up and Running!'
|
value1: 'Startup: Home Assistant is Up and Running!'
|
||||||
value2: ''
|
value2: ''
|
||||||
value3: ''
|
value3: ''
|
||||||
|
|
||||||
- service: light.turn_off
|
- service: light.turn_off
|
||||||
entity_id: group.hallway_lights
|
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
|
switch: !include_dir_merge_list switch
|
||||||
script: !include_dir_merge_named script
|
script: !include_dir_merge_named script
|
||||||
input_boolean: !include_dir_merge_named input_boolean
|
input_boolean: !include_dir_merge_named input_boolean
|
||||||
|
shell_command: !include_dir_merge_named shell_command
|
||||||
|
2
shell_command/restart_homebridge.yaml
Executable file
2
shell_command/restart_homebridge.yaml
Executable file
@ -0,0 +1,2 @@
|
|||||||
|
restart_homebridge: >-
|
||||||
|
sudo -u pi -H /usr/bin/pm2 restart homebridge
|
Loading…
x
Reference in New Issue
Block a user