From b6a9ecbe86bdd70b40b376d280b5856cd582e8c6 Mon Sep 17 00:00:00 2001 From: Home Assistant Version Control Date: Thu, 24 Sep 2026 15:28:04 +0000 Subject: [PATCH] automations.yaml --- automations.yaml | 31 +++++++++++++------------------ 1 file changed, 13 insertions(+), 18 deletions(-) diff --git a/automations.yaml b/automations.yaml index 421f3166..e66fd4bc 100644 --- a/automations.yaml +++ b/automations.yaml @@ -3829,41 +3829,36 @@ mode: single - id: '1789399923492' alias: 3D Printer Running - Reconcile on HA Start - description: 'When Home Assistant starts, if the 3D printer running helper is already - on (restored from a previous print, so no state change fires the main automation), - re-apply the ''printer started'' actions: printer lights bright white, bedroom - lamp on, basement heat 22C, filter on. A short delay lets devices that are still - settling after restart come online.' + description: When Home Assistant starts during an active SparkX i7 print, re-apply + the print-started light, bedroom, basement heat, and filter actions after devices + settle. triggers: - - trigger: homeassistant - event: start + - event: start + trigger: homeassistant conditions: - condition: state entity_id: input_boolean.3d_printer_running state: 'on' + - condition: template + value_template: '{{ states(''sensor.sparkx_i7_print_status'') in [''printing'', + ''paused''] }}' actions: - delay: seconds: 15 - 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