This commit is contained in:
Home Assistant Version Control
2026-10-02 20:48:45 +00:00
parent 32b8ea39cf
commit 74706651f1
3 changed files with 37 additions and 1 deletions
@@ -0,0 +1,34 @@
# ha_mcp_backup
schema_version: 1
domain: automation
entity_id: automation.cfs_box_1_desiccant_pack_due
captured: '2026-10-02T20:48:40.265891+00:00'
tool: ha_config_set_automation
config:
id: '1790973987624'
alias: CFS Box 1 - Desiccant Pack Due
description: 'Notify when the SparkX i7 CFS box 1 humidity stays at or above 34%
for 60 minutes, meaning the desiccant pack needs replacing. The short spikes
that happen when the box is opened to swap a filament never last that long.'
triggers:
- above: 33.9
entity_id: sensor.sparkx_i7_cfs_box_1_humidity
for:
minutes: 60
trigger: numeric_state
actions:
- action: notify.notify
data:
message: CFS box 1 humidity has been {{ reading }}% or higher for 60 minutes
(threshold 34%). Time to replace the desiccant pack.
title: 'CFS Box 1: replace desiccant pack'
- action: notify.persistent_notification
data:
message: CFS box 1 humidity has been {{ reading }}% or higher for 60 minutes
(threshold 34%). Time to replace the desiccant pack.
title: 'CFS Box 1: replace desiccant pack'
mode: single
variables:
reading: '{{ trigger.to_state.state | float | round(0) | int }}'
+1
View File
@@ -3822,3 +3822,4 @@
{"timestamp": "2026-10-02T20:47:47.611081+00:00", "tool_name": "ha_config_set_automation", "parameters": {"config": null, "identifier": "automation.cfs_box_1_desiccant_pack_due", "python_transform": null, "config_hash": null, "take_control_of_blueprint": false, "category": null, "wait": true, "enabled": null, "run_actions": true, "MandatoryBPS": true, "BestPracticeKey": null}, "execution_time_ms": 231.62484169006348, "success": true, "error_message": null, "response_size_bytes": 78189, "user_context": null}
{"timestamp": "2026-10-02T20:47:56.254689+00:00", "tool_name": "ha_get_automation_traces", "parameters": {"automation_id": "automation.cfs_box_1_desiccant_pack_due", "run_id": null, "limit": 3, "deduplicate": true, "detailed": false, "sections": "trigger,actions,error", "offset": 0, "order": "newest", "ctx": {"_STATE_TTL_SECONDS": 86400}}, "execution_time_ms": 5.267620086669922, "success": true, "error_message": null, "response_size_bytes": 514, "user_context": null}
{"timestamp": "2026-10-02T20:48:06.920680+00:00", "tool_name": "ha_get_logs", "parameters": {"source": "system", "limit": 15, "search": "desiccant", "order": "newest", "hours_back": 1, "entity_id": null, "end_time": null, "offset": 0, "compact": true, "level": null, "structured": false, "top_n": null, "slug": null}, "execution_time_ms": 34.28173065185547, "success": true, "error_message": null, "response_size_bytes": 518, "user_context": null}
{"timestamp": "2026-10-02T20:48:40.744584+00:00", "tool_name": "ha_config_set_automation", "parameters": {"config": null, "identifier": "automation.cfs_box_1_desiccant_pack_due", "python_transform": "config['variables']['reading'] = \"{{ states('sensor.sparkx_i7_cfs_box_1_humidity') | float | round(0) | int }}\"", "config_hash": "711b362f355dcee3", "take_control_of_blueprint": false, "category": null, "wait": true, "enabled": null, "run_actions": false, "MandatoryBPS": true, "BestPracticeKey": null}, "execution_time_ms": 473.0255603790283, "success": true, "error_message": null, "response_size_bytes": 78564, "user_context": null}
+2 -1
View File
@@ -4340,4 +4340,5 @@
title: 'CFS Box 1: replace desiccant pack'
mode: single
variables:
reading: '{{ trigger.to_state.state | float | round(0) | int }}'
reading: '{{ states(''sensor.sparkx_i7_cfs_box_1_humidity'') | float | round(0)
| int }}'