automations.yaml

This commit is contained in:
Home Assistant Version Control
2026-09-24 15:28:04 +00:00
parent c070346afe
commit b6a9ecbe86
+13 -18
View File
@@ -3829,41 +3829,36 @@
mode: single mode: single
- id: '1789399923492' - id: '1789399923492'
alias: 3D Printer Running - Reconcile on HA Start alias: 3D Printer Running - Reconcile on HA Start
description: 'When Home Assistant starts, if the 3D printer running helper is already description: When Home Assistant starts during an active SparkX i7 print, re-apply
on (restored from a previous print, so no state change fires the main automation), the print-started light, bedroom, basement heat, and filter actions after devices
re-apply the ''printer started'' actions: printer lights bright white, bedroom settle.
lamp on, basement heat 22C, filter on. A short delay lets devices that are still
settling after restart come online.'
triggers: triggers:
- trigger: homeassistant - event: start
event: start trigger: homeassistant
conditions: conditions:
- condition: state - condition: state
entity_id: input_boolean.3d_printer_running entity_id: input_boolean.3d_printer_running
state: 'on' state: 'on'
- condition: template
value_template: '{{ states(''sensor.sparkx_i7_print_status'') in [''printing'',
''paused''] }}'
actions: actions:
- delay: - delay:
seconds: 15 seconds: 15
- action: light.turn_on - action: light.turn_on
target: target:
entity_id: light.3d_printer_lights_local entity_id: light.sparkx_i7_light
- action: light.turn_on
data: data:
brightness_pct: 100 brightness_pct: 100
rgb_color:
- 255
- 255
- 255
- action: light.turn_on
target: target:
entity_id: light.bedroom_lamp_2 entity_id: light.bedroom_lamp_2
data:
brightness_pct: 100
- action: climate.set_temperature - action: climate.set_temperature
data:
hvac_mode: heat
temperature: 22
target: target:
entity_id: climate.basement entity_id: climate.basement
data:
temperature: 22
hvac_mode: heat
- action: switch.turn_on - action: switch.turn_on
target: target:
entity_id: switch.filter entity_id: switch.filter