From e0140120a6515fde0e3f5bef36ee15bcbc428b48 Mon Sep 17 00:00:00 2001 From: Home Assistant Version Control Date: Fri, 16 Oct 2026 19:45:26 +0000 Subject: [PATCH] .ha_mcp/logs/mcp_usage.jsonl, zigbee2mqtt/state.json --- .ha_mcp/logs/mcp_usage.jsonl | 1 + zigbee2mqtt/state.json | 34 +++++++++++++++++----------------- 2 files changed, 18 insertions(+), 17 deletions(-) diff --git a/.ha_mcp/logs/mcp_usage.jsonl b/.ha_mcp/logs/mcp_usage.jsonl index 3dd72e04..e3ec5a44 100644 --- a/.ha_mcp/logs/mcp_usage.jsonl +++ b/.ha_mcp/logs/mcp_usage.jsonl @@ -4728,3 +4728,4 @@ {"timestamp": "2026-10-16T19:31:47.602416+00:00", "tool_name": "ha_get_state", "parameters": {"entity_id": ["sensor.spoolman_spool_10", "sensor.spoolman_spool_4", "sensor.spoolman_spool_5", "sensor.spoolman_spool_8"], "fields": ["entity_id", "state", "attributes"], "attribute_keys": ["filament_color_hex", "filament_name", "location"]}, "execution_time_ms": 1.8334388732910156, "success": true, "error_message": null, "response_size_bytes": 1187, "user_context": null} {"timestamp": "2026-10-16T19:40:18.593041+00:00", "tool_name": "ha_eval_template", "parameters": {"template": "{%- set out = {} -%}\n{%- for s in states.sensor | selectattr('entity_id', 'match', '^sensor[.]spoolman_spool_[0-9]+$') -%}\n{%- set loc = (s.attributes.location | default('')) | trim -%}\n{%- if loc.lower().startswith('cfs lite ') -%}\n{%- set hexv = (s.attributes.filament_color_hex | default('')) | trim -%}\n{%- if hexv -%}\n{%- set _ = out.update({loc: ('#' ~ hexv if not hexv.startswith('#') else hexv)}) -%}\n{%- endif -%}\n{%- endif -%}\n{%- endfor -%}\n{{ out | tojson }}", "condition": null, "variables": null, "strict": false, "timeout": 3, "report_errors": true}, "execution_time_ms": 41.61882400512695, "success": false, "error_message": "{\n \"success\": false,\n \"error\": {\n \"code\": \"VALIDATION_FAILED\",\n \"message\": \"SecurityError: access to attribute 'update' of 'dict' object is unsafe.\",\n \"suggestion\": \"Fix the template at the reported line, if one is given, then evaluate it again\",\n \"suggestions\": [\n \"Fix the template at the reported line, if one is given, then evaluate it again\",\n \"Use default values for missing data: {{ states('sensor.temp') | float(0) }}\",\n \"Verify entity_ids exist using ha_get_state() or ha_search()\",\n \"Pass values the template expects through 'variables'\"\n ]\n },\n \"template\": \"{%- set out = {} -%}\\n{%- for s in states.sensor | selectattr('entity_id', 'match', '^sensor[.]spoolman_spool_[0-9]+$') -%}\\n{%- set loc = (s.attributes.location | default('')) | trim -%}\\n{%- if loc.lower().startswith('cfs lite ') -%}\\n{%- set hexv = (s.attributes.filament_color_hex | default('')) | trim -%}\\n{%- if hexv -%}\\n{%- set _ = out.update({loc: ('#' ~ hexv if not hexv.startswith('#') else hexv)}) -%}\\n{%- endif -%}\\n{%- endif -%}\\n{%- endfor -%}\\n{{ out | tojson }}\",\n \"line\": 7,\n \"source_line\": \"{%- set _ = out.update({loc: ('#' ~ hexv if not hexv.startswith('#') else hexv)}) -%}\"\n}", "response_size_bytes": null, "user_context": null} {"timestamp": "2026-10-16T19:40:27.828942+00:00", "tool_name": "ha_eval_template", "parameters": {"template": "{%- set ns = namespace(items=[]) -%}\n{%- for s in states.sensor | selectattr('entity_id', 'match', '^sensor[.]spoolman_spool_[0-9]+$') -%}\n{%- set loc = (s.attributes.location | default('')) | trim -%}\n{%- if loc.lower().startswith('cfs lite ') -%}\n{%- set hexv = (s.attributes.filament_color_hex | default('')) | trim -%}\n{%- if hexv -%}\n{%- set ns.items = ns.items + [[loc, ('#' ~ hexv) if not hexv.startswith('#') else hexv]] -%}\n{%- endif -%}\n{%- endif -%}\n{%- endfor -%}\n{{ ns.items | tojson }}", "condition": null, "variables": null, "strict": false, "timeout": 3, "report_errors": true}, "execution_time_ms": 36.035776138305664, "success": true, "error_message": null, "response_size_bytes": 745, "user_context": null} +{"timestamp": "2026-10-16T19:45:20.461076+00:00", "tool_name": "ha_list_services", "parameters": {"domain": "shell_command", "query": null, "limit": 50, "offset": 0, "detail_level": "summary", "service_fields": null, "fields": null}, "execution_time_ms": 5.486249923706055, "success": true, "error_message": null, "response_size_bytes": 661, "user_context": null} diff --git a/zigbee2mqtt/state.json b/zigbee2mqtt/state.json index 2c91c894..c15d0c3e 100644 --- a/zigbee2mqtt/state.json +++ b/zigbee2mqtt/state.json @@ -4,7 +4,7 @@ "state": "ON", "led_brightness": 100, "countdown_to_turn_off": 0, - "voltage": 120.8, + "voltage": 120.3, "countdown_to_turn_on": 0, "ac_frequency": 60, "power_factor": 0.11, @@ -27,8 +27,8 @@ "led_brightness": 100, "countdown_to_turn_off": 0, "countdown_to_turn_on": 0, - "power": 2, - "current": 0.1, + "power": 1.9, + "current": 0.09, "energy": 57.31, "power_factor": 0.2, "update": { @@ -47,7 +47,7 @@ "countdown_to_turn_off": 0, "voltage": 119.5, "countdown_to_turn_on": 0, - "energy": 110.69, + "energy": 110.7, "power_factor": 0.2, "ac_frequency": 60, "update": { @@ -58,7 +58,7 @@ "latest_release_notes": null }, "linkquality": 145, - "power": 85.2, + "power": 84.3, "current": 0.79, "power_on_behavior": "on" }, @@ -77,8 +77,8 @@ "voltage": 118.8, "state": "ON", "ac_frequency": 60, - "energy": 224.7, - "power": 95.2, + "energy": 224.71, + "power": 100, "current": 0.91, "power_factor": 0.95, "update": { @@ -95,11 +95,11 @@ "led_brightness": 100, "countdown_to_turn_off": 0, "countdown_to_turn_on": 0, - "voltage": 120.4, - "energy": 105.67, + "voltage": 120.3, + "energy": 105.68, "state": "ON", - "power": 66.4, - "current": 0.81, + "power": 69.8, + "current": 0.68, "ac_frequency": 60, "power_factor": 0.85, "update": { @@ -119,7 +119,7 @@ "energy": 15.42, "current": 0.02, "power": 1.1, - "power_factor": 0.22, + "power_factor": 0.11, "linkquality": 116, "update": { "state": "idle", @@ -136,14 +136,14 @@ "0xffffb40e0608864e": { "led_brightness": 100, "countdown_to_turn_off": 0, - "voltage": 120.8, + "voltage": 120.4, "energy": 39.11, "countdown_to_turn_on": 0, "state": "ON", - "current": 0.03, + "current": 0.02, "ac_frequency": 60, - "power": 1.5, - "power_factor": 0.4, + "power": 0.4, + "power_factor": 0.14, "update": { "state": "idle", "installed_version": 268513381, @@ -171,7 +171,7 @@ }, "0xa4c1380d0679ffff": { "battery": 100, - "temperature": 10.5, + "temperature": 10.6, "temperature_units": "celsius", "temperature_calibration": 0, "update": {