1
0
ansible-home-assistant/configuration/automations/3d-printer-mini.yaml
Przemek Grondek 3a6fc3fb97 Update 3D printer automations
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
2024-01-29 01:20:09 +01:00

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"