1
0

Fix mk3.9 automations

This commit is contained in:
Przemek Grondek 2023-11-16 18:38:10 +01:00
parent 9703ebd7e3
commit 268b44228b

View File

@ -9,7 +9,7 @@
condition: condition:
- condition: state - condition: state
entity_id: sensor.prusa_mk39 entity_id: sensor.prusa_mk39
state: 'Idle' state: idle
action: action:
- service: switch.turn_off - service: switch.turn_off
target: target:
@ -25,8 +25,8 @@
trigger: trigger:
- platform: state - platform: state
entity_id: sensor.prusa_mk39 entity_id: sensor.prusa_mk39
from: 'Printing' from: printing
to: 'Idle' to: idle
action: action:
- service: notify.mobile_app_iphone - service: notify.mobile_app_iphone
data: data:
@ -74,7 +74,7 @@
state: 'on' state: 'on'
- condition: state - condition: state
entity_id: sensor.prusa_mk39 entity_id: sensor.prusa_mk39
state: 'Idle' state: idle
- condition: numeric_state - condition: numeric_state
entity_id: sensor.3d_printer_electric_consumption_w entity_id: sensor.3d_printer_electric_consumption_w
below: '30' below: '30'
@ -93,8 +93,8 @@
trigger: trigger:
- platform: state - platform: state
entity_id: sensor.prusa_mk39 entity_id: sensor.prusa_mk39
from: 'Idle' from: idle
to: 'Printing' to: printing
condition: condition:
- condition: numeric_state - condition: numeric_state
entity_id: sensor.prusa_mk39_heatbed_target_temperature entity_id: sensor.prusa_mk39_heatbed_target_temperature