From 6b8390befc69902ee6b9ddf7644d500d65936663 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Przemys=C5=82aw=20Grondek?= Date: Wed, 26 Jun 2024 19:35:20 +0200 Subject: [PATCH] Add automation for nevermore mk4 --- configuration/automations/3d-printer.yaml | 29 +++++++++++++++++++++++ 1 file changed, 29 insertions(+) diff --git a/configuration/automations/3d-printer.yaml b/configuration/automations/3d-printer.yaml index 0af925c..caff86b 100644 --- a/configuration/automations/3d-printer.yaml +++ b/configuration/automations/3d-printer.yaml @@ -140,6 +140,35 @@ target: entity_id: switch.3d_printer_enclosure_fan_on_off +- id: prusa_mk39_nevermore_on + alias: '[Prusa MK3.9] Nevermore on' + mode: single + trigger: + - platform: state + entity_id: + - sensor.prusa_mk39 + to: printing + condition: + - condition: or + conditions: + - condition: state + entity_id: sensor.prusa_mk39_material + state: ABS + - condition: state + entity_id: sensor.prusa_mk39_material + state: ASA + - condition: state + entity_id: sensor.prusa_mk39_material + state: PC + - condition: state + entity_id: sensor.prusa_mk39_material + state: PCTG + action: + - service: fan.turn_on + target: + entity_id: fan.esp_3dprinter_controller_mk4_nevermore + data: + - id: prusa_mk39_fan_off alias: '[Prusa MK3.9] Fan off' mode: single