Add 3d printer automations
This commit is contained in:
parent
d8560400be
commit
603a4f81a6
23
automations/files/3d-printer.yaml
Normal file
23
automations/files/3d-printer.yaml
Normal file
@ -0,0 +1,23 @@
|
||||
- id: 3dprinter-off
|
||||
alias: '[3D Printer] Turn off'
|
||||
description: ''
|
||||
mode: single
|
||||
trigger:
|
||||
- type: value
|
||||
platform: device
|
||||
device_id: 58e9b8fc848631004a3c1e303ff25229
|
||||
entity_id: sensor.3d_printer_power
|
||||
domain: sensor
|
||||
below: 10
|
||||
for:
|
||||
hours: 0
|
||||
minutes: 30
|
||||
seconds: 0
|
||||
condition:
|
||||
- condition: state
|
||||
entity_id: binary_sensor.octoprint_printing
|
||||
state: 'off'
|
||||
action:
|
||||
- service: switch.turn_off
|
||||
data: { }
|
||||
entity_id: switch.3d_printer_switch
|
@ -9,7 +9,7 @@
|
||||
condition:
|
||||
- condition: numeric_state
|
||||
entity_id: sensor.bedroom_motion_illuminance
|
||||
below: '100'
|
||||
below: '50'
|
||||
- condition: state
|
||||
entity_id: input_select.home_mode
|
||||
state: Day
|
||||
|
Loading…
Reference in New Issue
Block a user