1
0

Add automation for nevermore mk4

This commit is contained in:
Przemek Grondek 2024-06-26 19:35:20 +02:00
parent f69ebb73b1
commit 6b8390befc

View File

@ -140,6 +140,35 @@
target: target:
entity_id: switch.3d_printer_enclosure_fan_on_off 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 - id: prusa_mk39_fan_off
alias: '[Prusa MK3.9] Fan off' alias: '[Prusa MK3.9] Fan off'
mode: single mode: single