From 268b44228bdee7e0274bbf7faf6d6dfd61fca1e0 Mon Sep 17 00:00:00 2001 From: Przemek Grondek Date: Thu, 16 Nov 2023 18:38:10 +0100 Subject: [PATCH] Fix mk3.9 automations --- configuration/automations/3d-printer.yaml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/configuration/automations/3d-printer.yaml b/configuration/automations/3d-printer.yaml index de71171..5f43c64 100644 --- a/configuration/automations/3d-printer.yaml +++ b/configuration/automations/3d-printer.yaml @@ -9,7 +9,7 @@ condition: - condition: state entity_id: sensor.prusa_mk39 - state: 'Idle' + state: idle action: - service: switch.turn_off target: @@ -25,8 +25,8 @@ trigger: - platform: state entity_id: sensor.prusa_mk39 - from: 'Printing' - to: 'Idle' + from: printing + to: idle action: - service: notify.mobile_app_iphone data: @@ -74,7 +74,7 @@ state: 'on' - condition: state entity_id: sensor.prusa_mk39 - state: 'Idle' + state: idle - condition: numeric_state entity_id: sensor.3d_printer_electric_consumption_w below: '30' @@ -93,8 +93,8 @@ trigger: - platform: state entity_id: sensor.prusa_mk39 - from: 'Idle' - to: 'Printing' + from: idle + to: printing condition: - condition: numeric_state entity_id: sensor.prusa_mk39_heatbed_target_temperature