.ha_mcp/logs/mcp_usage.jsonl, automations.yaml

This commit is contained in:
Home Assistant Version Control
2026-08-07 13:01:51 +00:00
parent 31b2b5f913
commit 7861198a84
2 changed files with 37 additions and 0 deletions
+35
View File
@@ -3248,3 +3248,38 @@
target:
entity_id: light.playroom_light
mode: restart
- id: '1786107704090'
alias: Count OctoPrint Print Outcomes
description: Increments counter.octoprint_successful_prints on PrintDone and counter.octoprint_failed_prints
on PrintFailed/PrintCancelled, triggered by sensor.octoprint_last_event state
changes.
triggers:
- trigger: state
entity_id: sensor.octoprint_last_event
to: PrintDone
id: done
- trigger: state
entity_id: sensor.octoprint_last_event
to: PrintFailed
id: failed
- trigger: state
entity_id: sensor.octoprint_last_event
to: PrintCancelled
id: failed
actions:
- choose:
- conditions:
- condition: trigger
id: done
sequence:
- action: counter.increment
target:
entity_id: counter.octoprint_successful_prints
- conditions:
- condition: trigger
id: failed
sequence:
- action: counter.increment
target:
entity_id: counter.octoprint_failed_prints
mode: single