Change PC ssh commands
This commit is contained in:
parent
089e3b0ff6
commit
5df617f965
@ -29,5 +29,5 @@
|
||||
- condition: state
|
||||
entity_id: binary_sensor.desktop
|
||||
state: 'on'
|
||||
- service: shell_command.poweroff_pc
|
||||
- service: shell_command.pc_poweroff
|
||||
mode: single
|
||||
|
@ -78,7 +78,8 @@ spotify:
|
||||
client_secret: !secret spotify_client_secret
|
||||
|
||||
shell_command:
|
||||
poweroff_pc: 'ssh -i /config/.ssh/id_rsa -o UserKnownHostsFile=/config/.ssh/known_hosts home-assistant@hulk.lan sudo /sbin/poweroff'
|
||||
pc_poweroff: 'ssh -i /config/.ssh/id_rsa -o UserKnownHostsFile=/config/.ssh/known_hosts home-assistant@hulk.lan sudo /sbin/poweroff'
|
||||
pc_suspend: 'ssh -i /config/.ssh/id_rsa -o UserKnownHostsFile=/config/.ssh/known_hosts home-assistant@hulk.lan sudo /usr/sbin/pm-suspend'
|
||||
|
||||
rest_command:
|
||||
octoprint_connect:
|
||||
|
@ -28,10 +28,10 @@ good_night:
|
||||
- light.hallway_lightstrip
|
||||
- light.computer_computer_cave_background
|
||||
- service: switch.turn_off
|
||||
data: { }
|
||||
entity_id:
|
||||
- switch.desk_motor_on_off
|
||||
- switch.computer_outlet
|
||||
- service: shell_command.pc_suspend
|
||||
mode: single
|
||||
icon: 'mdi:weather-night'
|
||||
good_morning:
|
||||
@ -80,8 +80,8 @@ leave_home:
|
||||
- light.hallway_lightstrip
|
||||
- light.computer_computer_cave_background
|
||||
- service: switch.turn_off
|
||||
data: { }
|
||||
entity_id: switch.desk_motor_on_off
|
||||
- service: shell_command.pc_suspend
|
||||
mode: single
|
||||
icon: 'mdi:home-export-outline'
|
||||
arrive_home:
|
||||
|
Loading…
Reference in New Issue
Block a user