From 7c6a465538a9ce01f8edda88caaefd85365e8874 Mon Sep 17 00:00:00 2001 From: Home Assistant Version Control Date: Sun, 2 Aug 2026 17:26:12 +0000 Subject: [PATCH] .ha_mcp/logs/mcp_usage.jsonl, automations.yaml --- .ha_mcp/logs/mcp_usage.jsonl | 3 +++ automations.yaml | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/.ha_mcp/logs/mcp_usage.jsonl b/.ha_mcp/logs/mcp_usage.jsonl index d840199..eca2be6 100644 --- a/.ha_mcp/logs/mcp_usage.jsonl +++ b/.ha_mcp/logs/mcp_usage.jsonl @@ -457,3 +457,6 @@ {"timestamp": "2026-08-02T17:25:49.311140+00:00", "tool_name": "ha_get_automation_traces", "parameters": {"automation_id": "automation.basement_switch_toggles_dining_room_switch_light", "run_id": null, "limit": 10, "deduplicate": true, "detailed": false, "sections": null, "offset": 0, "order": "newest", "ctx": {"_STATE_TTL_SECONDS": 86400}}, "execution_time_ms": 4.951953887939453, "success": true, "error_message": null, "response_size_bytes": 2190, "user_context": null} {"timestamp": "2026-08-02T17:25:59.590662+00:00", "tool_name": "ha_get_state", "parameters": {"entity_id": "input_text.living_room_previous_brightness", "fields": ["state"], "attribute_keys": null}, "execution_time_ms": 10.520696640014648, "success": true, "error_message": null, "response_size_bytes": 371, "user_context": null} {"timestamp": "2026-08-02T17:25:59.813800+00:00", "tool_name": "ha_get_state", "parameters": {"entity_id": "input_text.office_lamp_previous_color", "fields": ["state"], "attribute_keys": null}, "execution_time_ms": 5.650520324707031, "success": true, "error_message": null, "response_size_bytes": 364, "user_context": null} +{"timestamp": "2026-08-02T17:26:07.470769+00:00", "tool_name": "ha_config_set_automation", "parameters": {"config": null, "identifier": "automation.basement_switch_toggles_dining_room_switch_light", "python_transform": "config['use_blueprint']['input']['button2_single'][0]['choose'][0]['conditions'][0]['value_template'] = \"{{ states('input_text.living_room_previous_brightness') in ['', 'unknown', 'unavailable', none] }}\"", "config_hash": "ef86b8b2295787fe", "category": null, "wait": true, "MandatoryBPS": false, "BestPracticeKey": null}, "execution_time_ms": 455.7764530181885, "success": true, "error_message": null, "response_size_bytes": 614, "user_context": null} +{"timestamp": "2026-08-02T17:26:11.622938+00:00", "tool_name": "ha_config_get_automation", "parameters": {"identifier": "automation.basement_switch_toggles_dining_room_switch_light"}, "execution_time_ms": 75.44255256652832, "success": true, "error_message": null, "response_size_bytes": 1787, "user_context": null} +{"timestamp": "2026-08-02T17:26:11.732070+00:00", "tool_name": "ha_eval_template", "parameters": {"template": "{{ states('input_text.living_room_previous_brightness') in ['', 'unknown', 'unavailable', none] }}", "timeout": 3, "report_errors": true}, "execution_time_ms": 4.953145980834961, "success": true, "error_message": null, "response_size_bytes": 191, "user_context": null} diff --git a/automations.yaml b/automations.yaml index 445bd74..6100f69 100644 --- a/automations.yaml +++ b/automations.yaml @@ -3139,7 +3139,7 @@ - conditions: - condition: template value_template: '{{ states(''input_text.living_room_previous_brightness'') - == '''' }}' + in ['''', ''unknown'', ''unavailable'', none] }}' sequence: - action: light.turn_on target: