HomeAssistant_tutorials/video-08_03_2025/autoconnect_automation.yaml
Technik freaks 06a5a45b1f bugfix
2025-03-08 12:55:32 +01:00

22 lines
562 B
YAML

# This is a normal automtion. Just change the enitiy of the Smart Plug for the printer and the the delay, Home Assistant waits,
# until it sends the connect command to Octo Print over the API
alias: OctoPrinterConnect
description: ""
triggers:
- type: changed_states
device_id: b4c1dcda2235312fd75b1163d4f7e208
entity_id: 757b7b6ac5a088d13d6019232e80c95d
domain: switch
trigger: device
conditions: []
actions:
- delay:
hours: 0
minutes: 0
seconds: 5
- action: rest_command.octoprint_connect
data: {}
mode: single