Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
added input_select for PC Shutdown reboot hibernate and suspend
- Loading branch information
1 parent
4824912
commit 48a91e7
Showing
4 changed files
with
97 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
pcoptions: | ||
name: PC Power Options | ||
options: | ||
- Restart | ||
- Shutdown | ||
- None | ||
- Sleep | ||
- Hibernate | ||
initial: None | ||
icon: mdi:desktop-tower |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,7 @@ | ||
nico_update: 'mosquitto_pub -d -u Nico -P password -t owntracks/Nico/Nico/cmd -m "{"_type":"cmd","action":"reportLocation"}"' | ||
mamma_update: 'mosquitto_pub -d -u mamma -P password -t owntracks/mamma/mamma/cmd -m "{"_type":"cmd","action":"reportLocation"}"' | ||
nico_update: 'mosquitto_pub -d -u Nico -P forzalazio -t owntracks/Nico/Nico/cmd -m "{"_type":"cmd","action":"reportLocation"}"' | ||
mamma_update: 'mosquitto_pub -d -u mamma -P forzalazio -t owntracks/mamma/mamma/cmd -m "{"_type":"cmd","action":"reportLocation"}"' | ||
restart_ha: sudo service hass-daemon restart & | ||
shutdown_pc: '/usr/bin/curl -X GET "http://10.10.10.217:7760/poweroff"' | ||
restart_pc: '/usr/bin/curl -X GET "http://10.10.10.217:7760/reboot"' | ||
sleep_pc: '/usr/bin/curl -X GET "http://10.10.10.217:7760/suspend"' | ||
hibernate_pc: '/usr/bin/curl -X GET "http://10.10.10.217:7760/hibernate"' |