automations.yaml, zigbee2mqtt/state.json
This commit is contained in:
+17
-30
@@ -3396,20 +3396,19 @@
|
||||
data: {}
|
||||
- id: '1786068561172'
|
||||
alias: 3D Printer Running - Playroom Light & Basement Heat
|
||||
description: When the 3D printer running helper turns on (print started), set the
|
||||
3D printer lights to bright white, turn on the bedroom lamp, set the basement
|
||||
to 22 degrees C, and turn on the filter. When it turns off (print ended), set
|
||||
the 3D printer lights to purple at 25% after 3 minutes, turn off the bedroom lamp
|
||||
after 10 minutes, and turn off the filter after 1 hour.
|
||||
description: When the 3D printer running helper turns on, turn on the SparkX i7
|
||||
light and the bedroom lamp, set the basement to 22 degrees C, and turn on the
|
||||
filter. When the helper turns off, turn the SparkX light off after 3 minutes,
|
||||
turn off the bedroom lamp after 10 minutes, and turn off the filter after 1 hour.
|
||||
triggers:
|
||||
- trigger: state
|
||||
entity_id: input_boolean.3d_printer_running
|
||||
to: 'on'
|
||||
- entity_id: input_boolean.3d_printer_running
|
||||
id: printer_started
|
||||
- trigger: state
|
||||
entity_id: input_boolean.3d_printer_running
|
||||
to: 'off'
|
||||
to: 'on'
|
||||
trigger: state
|
||||
- entity_id: input_boolean.3d_printer_running
|
||||
id: printer_stopped
|
||||
to: 'off'
|
||||
trigger: state
|
||||
actions:
|
||||
- choose:
|
||||
- conditions:
|
||||
@@ -3418,24 +3417,18 @@
|
||||
sequence:
|
||||
- action: light.turn_on
|
||||
target:
|
||||
entity_id: light.3d_printer_lights_local
|
||||
entity_id: light.sparkx_i7_light
|
||||
- action: light.turn_on
|
||||
data:
|
||||
brightness_pct: 100
|
||||
rgb_color:
|
||||
- 255
|
||||
- 255
|
||||
- 255
|
||||
- action: light.turn_on
|
||||
target:
|
||||
entity_id: light.bedroom_lamp_2
|
||||
data:
|
||||
brightness_pct: 100
|
||||
- action: climate.set_temperature
|
||||
data:
|
||||
hvac_mode: heat
|
||||
temperature: 22
|
||||
target:
|
||||
entity_id: climate.basement
|
||||
data:
|
||||
temperature: 22
|
||||
hvac_mode: heat
|
||||
- action: switch.turn_on
|
||||
target:
|
||||
entity_id: switch.filter
|
||||
@@ -3447,15 +3440,9 @@
|
||||
- sequence:
|
||||
- delay:
|
||||
minutes: 3
|
||||
- action: light.turn_on
|
||||
- action: light.turn_off
|
||||
target:
|
||||
entity_id: light.3d_printer_lights_local
|
||||
data:
|
||||
brightness_pct: 25
|
||||
rgb_color:
|
||||
- 128
|
||||
- 0
|
||||
- 128
|
||||
entity_id: light.sparkx_i7_light
|
||||
- delay:
|
||||
minutes: 7
|
||||
- action: light.turn_off
|
||||
|
||||
Reference in New Issue
Block a user