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