3D Printer auto enable/disable enclosure fan
This commit is contained in:
parent
fbcd2be7bf
commit
426697fc23
@ -97,3 +97,35 @@
|
||||
- switch.3d_printer_enclosure_fan_on_off
|
||||
- service: light.turn_off
|
||||
entity_id: light.3d_printer_light
|
||||
|
||||
- id: 3dprinter-fan-on
|
||||
alias: '[3D Printer] Fan on'
|
||||
mode: single
|
||||
trigger:
|
||||
- platform: state
|
||||
entity_id:
|
||||
- binary_sensor.octoprint_printing
|
||||
condition:
|
||||
- condition: numeric_state
|
||||
entity_id: sensor.octoprint_target_bed_temp
|
||||
below: '100'
|
||||
action:
|
||||
- service: switch.turn_on
|
||||
target:
|
||||
entity_id: switch.3d_printer_enclosure_fan_on_off
|
||||
|
||||
- id: 3dprinter-fan-off
|
||||
alias: '[3D Printer] Fan off'
|
||||
mode: single
|
||||
trigger:
|
||||
- platform: state
|
||||
entity_id:
|
||||
- binary_sensor.octoprint_printing
|
||||
condition:
|
||||
- condition: numeric_state
|
||||
entity_id: sensor.octoprint_target_bed_temp
|
||||
above: '99'
|
||||
action:
|
||||
- service: switch.turn_off
|
||||
target:
|
||||
entity_id: switch.3d_printer_enclosure_fan_on_off
|
||||
|
Loading…
Reference in New Issue
Block a user