3 files
This commit is contained in:
@@ -3205,3 +3205,43 @@
|
||||
temperature: 22
|
||||
hvac_mode: heat
|
||||
mode: single
|
||||
- id: '1786068561172'
|
||||
alias: 3D Printer Running - Playroom Light & Basement Heat
|
||||
description: When the 3D printer running helper turns on (print started), turn on
|
||||
the playroom light and bedroom lamp and set the basement to 22 degrees C. When
|
||||
it turns off (print ended), turn off only the playroom light.
|
||||
triggers:
|
||||
- trigger: state
|
||||
entity_id: input_boolean.3d_printer_running
|
||||
to: 'on'
|
||||
id: printer_started
|
||||
- trigger: state
|
||||
entity_id: input_boolean.3d_printer_running
|
||||
to: 'off'
|
||||
id: printer_stopped
|
||||
actions:
|
||||
- choose:
|
||||
- conditions:
|
||||
- condition: trigger
|
||||
id: printer_started
|
||||
sequence:
|
||||
- action: light.turn_on
|
||||
target:
|
||||
entity_id: light.playroom_light
|
||||
- action: light.turn_on
|
||||
target:
|
||||
entity_id: light.bedroom_lamp
|
||||
- action: climate.set_temperature
|
||||
target:
|
||||
entity_id: climate.basement
|
||||
data:
|
||||
temperature: 22
|
||||
hvac_mode: heat
|
||||
- conditions:
|
||||
- condition: trigger
|
||||
id: printer_stopped
|
||||
sequence:
|
||||
- action: light.turn_off
|
||||
target:
|
||||
entity_id: light.playroom_light
|
||||
mode: single
|
||||
|
||||
Reference in New Issue
Block a user