From f13076c878de873010d35aaab086111d6e5a5e57 Mon Sep 17 00:00:00 2001 From: Home Assistant Version Control Date: Mon, 24 Aug 2026 17:38:56 +0000 Subject: [PATCH] .ha_mcp/logs/mcp_usage.jsonl, zigbee2mqtt/state.json --- .ha_mcp/logs/mcp_usage.jsonl | 1 + zigbee2mqtt/state.json | 26 +++++++++++++------------- 2 files changed, 14 insertions(+), 13 deletions(-) diff --git a/.ha_mcp/logs/mcp_usage.jsonl b/.ha_mcp/logs/mcp_usage.jsonl index 6b984355..42e1bb4e 100644 --- a/.ha_mcp/logs/mcp_usage.jsonl +++ b/.ha_mcp/logs/mcp_usage.jsonl @@ -1921,3 +1921,4 @@ {"timestamp": "2026-08-24T17:33:37.764266+00:00", "tool_name": "ha_config_get_dashboard", "parameters": {"url_path": "ender5-printer", "list_only": false, "force_reload": false, "entity_id": null, "card_type": null, "heading": null, "include_config": false, "include_screenshot": false, "view_path": null, "mode": null, "query": null}, "execution_time_ms": 13.705015182495117, "success": true, "error_message": null, "response_size_bytes": 17635, "user_context": null} {"timestamp": "2026-08-24T17:34:29.584348+00:00", "tool_name": "ha_config_set_dashboard", "parameters": {"url_path": "printer-stats", "config": null, "python_transform": "card = {'type': 'custom:apexcharts-card', 'header': {'show': True, 'title': 'Filament Usage - Grams (30 days)', 'show_states': True, 'colorize_states': True}, 'graph_span': '30d', 'apex_config': {'chart': {'type': 'bar', 'height': 300}, 'plotOptions': {'bar': {'columnWidth': '50%'}}, 'dataLabels': {'enabled': False}, 'yaxis': {'tickAmount': 4, 'labels': {'minWidth': 40}}}, 'series': [{'entity': 'sensor.octoprint_filament_weight_daily', 'name': 'Used (g)', 'color': '#26c6da', 'type': 'column', 'group_by': {'func': 'last', 'duration': '1d', 'start_with_last': True}}, {'entity': 'sensor.octoprint_filament_used_weight_total', 'name': 'Total (g)', 'color': '#ab47bc', 'type': 'line', 'curve': 'straight', 'group_by': {'func': 'last', 'duration': '1d', 'start_with_last': True}}, {'entity': 'sensor.octoprint_filament_weight_weekly', 'name': 'Weekly (g)', 'color': '#ffca28', 'type': 'column', 'group_by': {'func': 'last', 'duration': '1d', 'start_with_last': True}}], 'grid_options': {'columns': 'full'}, 'span': {'end': 'day'}}; [sec['cards'].append(card) for sec in config['views'][0]['sections'] if any(c.get('type') == 'heading' and c.get('heading') == 'Filament Usage' for c in sec.get('cards', []) if isinstance(c, dict))]", "config_hash": "8f174086b2572908", "title": null, "icon": null, "require_admin": null, "show_in_sidebar": null, "MandatoryBPS": false, "BestPracticeKey": null, "return_screenshot": false, "view_path": null}, "execution_time_ms": 13.576030731201172, "success": true, "error_message": null, "response_size_bytes": 1816, "user_context": null} {"timestamp": "2026-08-24T17:36:45.258163+00:00", "tool_name": "ha_config_get_dashboard", "parameters": {"url_path": "printer-stats", "list_only": false, "force_reload": false, "entity_id": null, "card_type": null, "heading": null, "include_config": false, "include_screenshot": false, "view_path": "print", "mode": null, "query": null}, "execution_time_ms": 10.12563705444336, "success": true, "error_message": null, "response_size_bytes": 10445, "user_context": null} +{"timestamp": "2026-08-24T17:38:50.573528+00:00", "tool_name": "ha_config_set_dashboard", "parameters": {"url_path": "printer-stats", "config": null, "python_transform": "sec = next(s for s in config['views'][0]['sections'] if any(isinstance(c, dict) and c.get('type') == 'heading' and c.get('heading') == 'Filament Usage' for c in s.get('cards', []))); cards = sec['cards']; chart = next(c for c in cards if isinstance(c, dict) and c.get('type') == 'custom:apexcharts-card' and str(c.get('header', {}).get('title', '')).startswith('Filament Usage - Grams')); cards.remove(chart); cards.extend([{'type': 'heading', 'heading': 'Grams Usage', 'icon': 'mdi:weight'}, {'type': 'tile', 'entity': 'sensor.octoprint_filament_weight_daily', 'name': 'Filament Today', 'icon': 'mdi:chart-donut', 'grid_options': {'columns': 4}}, {'type': 'tile', 'entity': 'sensor.octoprint_filament_weight_weekly', 'name': 'Filament This Week', 'icon': 'mdi:calendar-week', 'grid_options': {'columns': 4}}, {'type': 'tile', 'entity': 'sensor.octoprint_filament_weight_monthly', 'name': 'Filament This Month', 'icon': 'mdi:calendar-month', 'grid_options': {'columns': 4}}, {'type': 'tile', 'entity': 'sensor.octoprint_filament_used_weight_total', 'name': 'Grand Total', 'icon': 'mdi:chart-pie', 'grid_options': {'columns': 4}}, chart])", "config_hash": "bc078c46e514cfe9", "title": null, "icon": null, "require_admin": null, "show_in_sidebar": null, "MandatoryBPS": false, "BestPracticeKey": null, "return_screenshot": false, "view_path": null}, "execution_time_ms": 8.518457412719727, "success": false, "error_message": "{\n \"success\": false,\n \"error\": {\n \"code\": \"VALIDATION_FAILED\",\n \"message\": \"Expression raised at runtime: NameError: name 'next' is not defined\",\n \"suggestion\": \"Verify referenced keys/indices exist in the input\",\n \"suggestions\": [\n \"Verify referenced keys/indices exist in the input\",\n \"Check that types match (e.g. dict vs list operations)\",\n \"Use .get(key, default) to handle missing keys\",\n \"Expression: sec = next(s for s in config['views'][0]['sections'] if any(isinstance(c, dict) and c.get('type') ==...\",\n \"For Home Assistant best-practice guidance, call ha_get_skill_guide(skill='home-assistant-best-practices') and consult the relevant reference file before retrying.\"\n ]\n },\n \"action\": \"python_transform\",\n \"url_path\": \"printer-stats\"\n}", "response_size_bytes": null, "user_context": null} diff --git a/zigbee2mqtt/state.json b/zigbee2mqtt/state.json index c076cbd7..817eab3d 100644 --- a/zigbee2mqtt/state.json +++ b/zigbee2mqtt/state.json @@ -4,7 +4,7 @@ "state": "ON", "led_brightness": 100, "countdown_to_turn_off": 0, - "voltage": 117.6, + "voltage": 117.1, "countdown_to_turn_on": 0, "ac_frequency": 60, "power_factor": 0.14, @@ -48,7 +48,7 @@ "voltage": 116.8, "countdown_to_turn_on": 0, "energy": 65.38, - "power_factor": 0.91, + "power_factor": 0.9, "ac_frequency": 60, "update": { "state": "idle", @@ -58,7 +58,7 @@ "latest_release_notes": null }, "linkquality": 138, - "power": 84.5, + "power": 83.4, "current": 0.83, "power_on_behavior": "on" }, @@ -74,13 +74,13 @@ "led_brightness": 100, "countdown_to_turn_off": 0, "countdown_to_turn_on": 0, - "voltage": 115.9, + "voltage": 116.4, "state": "ON", "ac_frequency": 60, "energy": 132.22, - "power": 96, - "current": 0.87, - "power_factor": 0.94, + "power": 1.3, + "current": 0.05, + "power_factor": 0.4, "update": { "state": "idle", "installed_version": 268513381, @@ -95,11 +95,11 @@ "led_brightness": 100, "countdown_to_turn_off": 0, "countdown_to_turn_on": 0, - "voltage": 117.1, - "energy": 63.08, + "voltage": 116.6, + "energy": 63.09, "state": "ON", - "power": 101.9, - "current": 1.13, + "power": 99, + "current": 1.07, "ac_frequency": 60, "power_factor": 0.82, "update": { @@ -119,7 +119,7 @@ "energy": 8.78, "current": 0.01, "power": 0.1, - "power_factor": 0.11, + "power_factor": 0.24, "linkquality": 109, "update": { "state": "idle", @@ -143,7 +143,7 @@ "current": 0.02, "ac_frequency": 60, "power": 0.4, - "power_factor": 0.18, + "power_factor": 0.15, "update": { "state": "idle", "installed_version": 268513381,