1
0

Add 3d printer automations

This commit is contained in:
Przemek Grondek 2021-01-12 00:54:15 +01:00
parent d8560400be
commit 603a4f81a6
2 changed files with 24 additions and 1 deletions

View 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

View File

@ -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