Przemek Grondek
3a6fc3fb97
MK3.9 - Update prefix to Prusa MK3.9 MK3.9 - Lower time for turning off to 15 minutes MK3.9 - Update trigger for finished print from `idle` to `finished` MINI - Add second trigger for finished print - `finished` MINI - Update prefix to Prusa MINI
36 lines
850 B
YAML
36 lines
850 B
YAML
- id: prusa_mini_notify
|
|
alias: '[Prusa Mini] Notify finished'
|
|
mode: single
|
|
trigger:
|
|
- platform: state
|
|
entity_id: sensor.prusamini
|
|
from: printing
|
|
to: idle
|
|
- platform: state
|
|
entity_id: sensor.prusamini
|
|
from: printing
|
|
to: finished
|
|
action:
|
|
- service: notify.mobile_app_iphone
|
|
data:
|
|
message: 3D printer has finished
|
|
title: Prusa Mini
|
|
data:
|
|
url: "/lovelace-tablet/3d-printer"
|
|
|
|
- id: prusa_mini_pause_notify
|
|
alias: '[Prusa Mini] Notify paused print'
|
|
mode: single
|
|
trigger:
|
|
- platform: state
|
|
entity_id: sensor.prusamini
|
|
from: printing
|
|
to: paused
|
|
action:
|
|
- service: notify.mobile_app_iphone
|
|
data:
|
|
title: Prusa Mini
|
|
message: 3D Print has been paused
|
|
data:
|
|
url: "/lovelace-tablet/3d-printer"
|