many changes

This commit is contained in:
2025-02-13 22:40:44 +00:00
parent 867375b286
commit 80d39a13a6
15 changed files with 366 additions and 3 deletions

View File

@@ -474,6 +474,10 @@
device_id: ef6d5a43ae7c971e4b7b740dbc0f378e
entity_id: d212bffda3c532f2e43ea9d08b1fd008
domain: switch
for:
hours: 0
minutes: 59
seconds: 0
actions:
- type: turn_off
device_id: ef6d5a43ae7c971e4b7b740dbc0f378e

View File

@@ -18,7 +18,12 @@ switch:
mac: "58:47:CA:78:4E:59"
turn_off:
service: shell_command.turn_off_remote_pc
- platform: template
name: "comfyui"
turn_on:
service: shell_command.start_comfy_ui
turn_off:
service: shell_command.turn_off_remote_pc
#MQTT Broker for milight hub:
mqtt:

View File

@@ -1 +1,2 @@
turn_off_remote_pc: "ssh -i /config/ssh_keys/id_rsa_homeassistant -o 'StrictHostKeyChecking=no' homeassistant@192.168.178.87 sudo shutdown -h now"
start_comfy_ui: "ssh -i /config/ssh_keys/id_rsa_homeassistant -o 'StrictHostKeyChecking=no' homeassistant@192.168.178.87 bash -c 'cd /home/oster/git/ComfyUI;./start.sh; read x'"