Closed turulix closed 1 month ago
Here is how I do it
alias: 3D print done
description: ""
trigger:
- platform: state
entity_id:
- sensor.state
to: complete
for:
hours: 0
minutes: 1
seconds: 0
- platform: state
entity_id:
- sensor.mainsail_current_print_state
to: complete
condition: []
action:
- device_id: 393ca61ac995ba9fe1e881162eb40821
domain: mobile_app
type: notify
title: Impression terminée
message: 3D Printer
mode: single
I am not sure what you want different
Sorry,
I want to be able to template the duration and the filename into the message aswell. But i have the problem, where once the state changes to complete, the print_duration and filename also get reset and i couldn't find a way to retreive the previous state
yeah, you will need to use the helper in home assistant, I don't want to come up with new sensor/info that is not part of native moonraker
Is your feature request related to a problem? Please describe.
I'm trying to send myself a discord message, whenever my print finishes like octoprint does. Currentlly i simply use
print_duration.state
and_filename.state
which results in this:Describe your setup
Please describe your Printer setup, (especially software stack) Ender-3 Neo, Mainsail
Describe the solution you'd like
I want something that gives me the sate of the last print.
Additional context