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