diff --git a/.ha_mcp/logs/mcp_usage.jsonl b/.ha_mcp/logs/mcp_usage.jsonl index 2b86d0b8..34c7bf07 100644 --- a/.ha_mcp/logs/mcp_usage.jsonl +++ b/.ha_mcp/logs/mcp_usage.jsonl @@ -1749,3 +1749,4 @@ {"timestamp": "2026-08-22T02:47:53.670303+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": "2", "mode": null, "query": null}, "execution_time_ms": 5.373716354370117, "success": false, "error_message": "{\n \"success\": false,\n \"error\": {\n \"code\": \"RESOURCE_NOT_FOUND\",\n \"message\": \"Dashboard view path '2' is not found.\",\n \"suggestion\": \"Use a view_path returned by ha_config_get_dashboard\"\n },\n \"dashboard_url_path\": \"printer-stats\",\n \"view_path\": \"2\",\n \"available_view_paths\": [\n \"print\",\n \"history\"\n ]\n}", "response_size_bytes": null, "user_context": null} {"timestamp": "2026-08-22T02:51:30.942080+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": 4.397153854370117, "success": true, "error_message": null, "response_size_bytes": 9419, "user_context": null} {"timestamp": "2026-08-22T02:54:13.124557+00:00", "tool_name": "ha_config_get_dashboard", "parameters": {"url_path": "ender5-printer", "list_only": false, "force_reload": false, "entity_id": "sensor.octoprint_serial_health_ratio", "card_type": null, "heading": null, "include_config": false, "include_screenshot": false, "view_path": null, "mode": null, "query": null}, "execution_time_ms": 8.28099250793457, "success": true, "error_message": null, "response_size_bytes": 412, "user_context": null} +{"timestamp": "2026-08-22T02:55:06.089350+00:00", "tool_name": "ha_config_set_dashboard", "parameters": {"url_path": "printer-stats", "config": null, "python_transform": "p = config['views'][0]['sections']\ncards0 = p[0]['cards']\nprog = p[1]['cards']\ncz_i = next(i for i,c in enumerate(prog) if c.get('entity') == 'sensor.octoprint_current_z')\ncz = prog.pop(cz_i)\npaused_i = next(i for i,c in enumerate(cards0) if c.get('entity') == 'binary_sensor.octoprint_paused')\ncards0.insert(paused_i + 1, cz)\nhist_cards = config['views'][1]['sections'][4]['cards']\ndead = {'sensor.octoprint_serial_health_ratio', 'binary_sensor.octoprint_serial_health_critical'}\nfor i in sorted([i for i,c in enumerate(hist_cards) if c.get('entity') in dead], reverse=True):\n hist_cards.pop(i)", "config_hash": "bb243178ce45a257", "title": null, "icon": null, "require_admin": null, "show_in_sidebar": null, "MandatoryBPS": true, "BestPracticeKey": null, "return_screenshot": false, "view_path": null}, "execution_time_ms": 10.36691665649414, "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: p = config['views'][0]['sections']\\ncards0 = p[0]['cards']\\nprog = p[1]['cards']\\ncz_i = next(i for i,c...\",\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 bc7e601b..c63270eb 100644 --- a/zigbee2mqtt/state.json +++ b/zigbee2mqtt/state.json @@ -15,22 +15,22 @@ "latest_source": "https://raw.githubusercontent.com/Koenkk/zigbee-OTA/master/images/ThirdReality/SmartPlug_Zigbee_PROD_OTA_V101_1.01.01.ota", "latest_release_notes": null }, - "power": 0.5, + "power": 0.4, "linkquality": 102, "current": 0.03, "power_on_behavior": "on" }, "0xffffb40e0607af27": { "state": "ON", - "voltage": 121.2, + "voltage": 121.6, "ac_frequency": 60, "led_brightness": 100, "countdown_to_turn_off": 0, "countdown_to_turn_on": 0, - "power": 2.7, + "power": 1.9, "current": 0.1, "energy": 32.12, - "power_factor": 0.13, + "power_factor": 0.2, "update": { "state": "idle", "installed_version": 268513381, @@ -48,7 +48,7 @@ "voltage": 122.5, "countdown_to_turn_on": 0, "energy": 63.28, - "power_factor": 0.2, + "power_factor": 0.3, "ac_frequency": 60, "update": { "state": "idle", @@ -74,13 +74,13 @@ "led_brightness": 100, "countdown_to_turn_off": 0, "countdown_to_turn_on": 0, - "voltage": 121.5, + "voltage": 121.4, "state": "ON", "ac_frequency": 60, - "energy": 128.1, - "power": 103.4, - "current": 0.96, - "power_factor": 0.92, + "energy": 128.11, + "power": 102.8, + "current": 0.9, + "power_factor": 0.94, "update": { "state": "idle", "installed_version": 268513381, @@ -95,13 +95,13 @@ "led_brightness": 100, "countdown_to_turn_off": 0, "countdown_to_turn_on": 0, - "voltage": 122, + "voltage": 121.5, "energy": 59.97, "state": "ON", - "power": 46.3, - "current": 0.55, + "power": 53.4, + "current": 0.61, "ac_frequency": 60, - "power_factor": 0.7, + "power_factor": 0.68, "update": { "state": "idle", "installed_version": 268513381, @@ -114,11 +114,11 @@ }, "0xffffb40e060895b3": { "state": "ON", - "voltage": 124.1, + "voltage": 122.7, "ac_frequency": 60, "energy": 8.78, "current": 0.01, - "power": 0.1, + "power": 0.2, "power_factor": 0.11, "linkquality": 109, "update": { @@ -136,14 +136,14 @@ "0xffffb40e0608864e": { "led_brightness": 100, "countdown_to_turn_off": 0, - "voltage": 117.9, - "energy": 19.86, + "voltage": 123, + "energy": 19.87, "countdown_to_turn_on": 0, "state": "ON", - "current": 14.21, + "current": 0.18, "ac_frequency": 60, - "power": 1675.2, - "power_factor": 0.99, + "power": 21.4, + "power_factor": 0.93, "update": { "state": "idle", "installed_version": 268513381,