3 files
This commit is contained in:
@@ -0,0 +1,34 @@
|
|||||||
|
# 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
|
||||||
@@ -4326,3 +4326,4 @@
|
|||||||
{"timestamp": "2026-10-10T06:43:46.935891+00:00", "tool_name": "ha_config_list_helpers", "parameters": {"helper_type": "person", "limit": 50, "offset": 0}, "execution_time_ms": 10.815143585205078, "success": true, "error_message": null, "response_size_bytes": 526, "user_context": null}
|
{"timestamp": "2026-10-10T06:43:46.935891+00:00", "tool_name": "ha_config_list_helpers", "parameters": {"helper_type": "person", "limit": 50, "offset": 0}, "execution_time_ms": 10.815143585205078, "success": true, "error_message": null, "response_size_bytes": 526, "user_context": null}
|
||||||
{"timestamp": "2026-10-10T06:43:56.725396+00:00", "tool_name": "ha_list_services", "parameters": {"domain": null, "query": "send_message", "limit": 50, "offset": 0, "detail_level": "full", "service_fields": ["service", "fields"], "fields": null}, "execution_time_ms": 113.23738098144531, "success": true, "error_message": null, "response_size_bytes": 5860, "user_context": null}
|
{"timestamp": "2026-10-10T06:43:56.725396+00:00", "tool_name": "ha_list_services", "parameters": {"domain": null, "query": "send_message", "limit": 50, "offset": 0, "detail_level": "full", "service_fields": ["service", "fields"], "fields": null}, "execution_time_ms": 113.23738098144531, "success": true, "error_message": null, "response_size_bytes": 5860, "user_context": null}
|
||||||
{"timestamp": "2026-10-10T06:44:51.452086+00:00", "tool_name": "ha_get_state", "parameters": {"entity_id": ["device_tracker.sm_f956w", "device_tracker.sm_t387w", "device_tracker.motorola_one_vision", "device_tracker.francos_ipad"], "fields": ["entity_id", "state", "attributes", "last_updated"], "attribute_keys": ["friendly_name", "source"]}, "execution_time_ms": 8.842706680297852, "success": true, "error_message": null, "response_size_bytes": 1172, "user_context": null}
|
{"timestamp": "2026-10-10T06:44:51.452086+00:00", "tool_name": "ha_get_state", "parameters": {"entity_id": ["device_tracker.sm_f956w", "device_tracker.sm_t387w", "device_tracker.motorola_one_vision", "device_tracker.francos_ipad"], "fields": ["entity_id", "state", "attributes", "last_updated"], "attribute_keys": ["friendly_name", "source"]}, "execution_time_ms": 8.842706680297852, "success": true, "error_message": null, "response_size_bytes": 1172, "user_context": null}
|
||||||
|
{"timestamp": "2026-10-10T06:45:43.501332+00:00", "tool_name": "ha_config_set_automation", "parameters": {"config": {"alias": "Printer finished", "description": "Sets the job filament helper and notifies Franco via Telegram 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": "telegram_bot.send_message", "data": {"title": "🖨 Printing complete", "message": "Print job has finished", "parse_mode": "plain_text"}, "target": {"entity_id": "notify.franco"}}], "mode": "single"}, "identifier": "automation.printer_finished", "python_transform": null, "config_hash": "", "take_control_of_blueprint": false, "category": null, "wait": true, "enabled": null, "run_actions": false, "MandatoryBPS": false, "BestPracticeKey": null}, "execution_time_ms": 1331.4282894134521, "success": true, "error_message": null, "response_size_bytes": 179, "user_context": null}
|
||||||
|
|||||||
+8
-12
@@ -4721,8 +4721,8 @@
|
|||||||
mode: single
|
mode: single
|
||||||
- id: '1791614551939'
|
- id: '1791614551939'
|
||||||
alias: Printer finished
|
alias: Printer finished
|
||||||
description: Sets the job filament helper and notifies when the print reaches 98%
|
description: Sets the job filament helper and notifies Franco via Telegram when
|
||||||
completion.
|
the print reaches 98% completion.
|
||||||
triggers:
|
triggers:
|
||||||
- trigger: state
|
- trigger: state
|
||||||
entity_id: sensor.sparkx_moonraker_progress
|
entity_id: sensor.sparkx_moonraker_progress
|
||||||
@@ -4734,15 +4734,11 @@
|
|||||||
entity_id: input_text.job_filament
|
entity_id: input_text.job_filament
|
||||||
data:
|
data:
|
||||||
value: '{{ states.sensor.sparkx_moonraker_filament_used.state_with_unit }}'
|
value: '{{ states.sensor.sparkx_moonraker_filament_used.state_with_unit }}'
|
||||||
- action: notify.franco
|
- action: telegram_bot.send_message
|
||||||
data:
|
data:
|
||||||
message: TTS
|
title: "\U0001F5A8 Printing complete"
|
||||||
title: Printing complete
|
message: Print job has finished
|
||||||
data:
|
parse_mode: plain_text
|
||||||
tts_text: Print job is complete
|
target:
|
||||||
- action: notify.franco
|
entity_id: notify.franco
|
||||||
data:
|
|
||||||
title: "\U0001F5A8 Printer finished"
|
|
||||||
message: Printer job has finished
|
|
||||||
data: {}
|
|
||||||
mode: single
|
mode: single
|
||||||
|
|||||||
Reference in New Issue
Block a user