automations.yaml
This commit is contained in:
+5
-5
@@ -4131,7 +4131,7 @@
|
||||
- id: '1789900000001'
|
||||
alias: 3D Print - Safe to Remove
|
||||
description: After a successful SparkX i7 print, wait for the bed and nozzle to
|
||||
stay at or below 30 degrees for 5 minutes, then notify all existing print devices.
|
||||
stay at or below 35 degrees for 5 minutes, then notify all existing print devices.
|
||||
triggers:
|
||||
- entity_id: sensor.sparkx_i7_print_status
|
||||
from: printing
|
||||
@@ -4158,17 +4158,17 @@
|
||||
- continue_on_timeout: false
|
||||
timeout: 02:00:00
|
||||
wait_template: '{{ is_state(''sensor.sparkx_i7_print_status'', ''completed'')
|
||||
and states(''sensor.sparkx_i7_bed_temperature'') | float(100) <= 30
|
||||
and states(''sensor.sparkx_i7_bed_temperature'') | float(100) <= 35
|
||||
and states(''sensor.sparkx_i7_nozzle_temperature'') | float(300) <=
|
||||
30 }}'
|
||||
35 }}'
|
||||
- delay:
|
||||
minutes: 5
|
||||
- if:
|
||||
- condition: template
|
||||
value_template: '{{ is_state(''sensor.sparkx_i7_print_status'', ''completed'')
|
||||
and states(''sensor.sparkx_i7_bed_temperature'') | float(100) <= 30
|
||||
and states(''sensor.sparkx_i7_bed_temperature'') | float(100) <= 35
|
||||
and states(''sensor.sparkx_i7_nozzle_temperature'') | float(300) <=
|
||||
30 }}'
|
||||
35 }}'
|
||||
then:
|
||||
- variables:
|
||||
bed_temp: '{{ states(''sensor.sparkx_i7_bed_temperature'') | float(0)
|
||||
|
||||
Reference in New Issue
Block a user