35 lines
909 B
YAML
35 lines
909 B
YAML
# ha_mcp_backup
|
|
schema_version: 1
|
|
domain: automation
|
|
entity_id: automation.printer_finished
|
|
captured: '2026-10-10T06:45:42.166180+00:00'
|
|
tool: ha_config_set_automation
|
|
config:
|
|
id: '1791614551939'
|
|
alias: Printer finished
|
|
description: Sets the job filament helper and notifies when the print reaches 98%
|
|
completion.
|
|
triggers:
|
|
- trigger: state
|
|
entity_id: sensor.sparkx_moonraker_progress
|
|
to: '98'
|
|
conditions: []
|
|
actions:
|
|
- action: input_text.set_value
|
|
target:
|
|
entity_id: input_text.job_filament
|
|
data:
|
|
value: '{{ states.sensor.sparkx_moonraker_filament_used.state_with_unit }}'
|
|
- action: notify.franco
|
|
data:
|
|
message: TTS
|
|
title: Printing complete
|
|
data:
|
|
tts_text: Print job is complete
|
|
- action: notify.franco
|
|
data:
|
|
title: "\U0001F5A8 Printer finished"
|
|
message: Printer job has finished
|
|
data: {}
|
|
mode: single
|