diff --git a/.ha_mcp/logs/mcp_usage.jsonl b/.ha_mcp/logs/mcp_usage.jsonl index 16bf20f..80448da 100644 --- a/.ha_mcp/logs/mcp_usage.jsonl +++ b/.ha_mcp/logs/mcp_usage.jsonl @@ -1053,3 +1053,5 @@ {"timestamp": "2026-08-09T01:32:04.238520+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": 5.052328109741211, "success": false, "error_message": "{\n \"success\": false,\n \"error\": {\n \"code\": \"RESOURCE_NOT_FOUND\",\n \"message\": \"Dashboard view path 'Print' 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\": \"Print\",\n \"available_view_paths\": [\n \"print\",\n \"history\"\n ]\n}", "response_size_bytes": null, "user_context": null} {"timestamp": "2026-08-09T01:32:07.431594+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": 2.988576889038086, "success": true, "error_message": null, "response_size_bytes": 6965, "user_context": null} {"timestamp": "2026-08-09T01:32:12.690269+00:00", "tool_name": "ha_config_list_dashboard_resources", "parameters": {"include_content": false, "limit": 100, "offset": 0}, "execution_time_ms": 2.597808837890625, "success": true, "error_message": null, "response_size_bytes": 8178, "user_context": null} +{"timestamp": "2026-08-09T01:32:40.299121+00:00", "tool_name": "ha_config_set_dashboard", "parameters": {"url_path": "printer-stats", "config": null, "python_transform": "config['views'][0]['sections'][1]['cards'][2] = {\"type\": \"custom:mushroom-template-card\", \"primary\": \"{{ (states('sensor.octoprint_elapsed') | float(0) / 60) | round(0) | int }} min\", \"name\": \"Elapsed\", \"icon\": \"mdi:clock-start\", \"grid_options\": {\"columns\": 6}}; config['views'][0]['sections'][1]['cards'][3] = {\"type\": \"custom:mushroom-template-card\", \"primary\": \"{{ (states('sensor.octoprint_time_left') | float(0) / 60) | round(0) | int }} min\", \"name\": \"Remaining\", \"icon\": \"mdi:clock-end\", \"grid_options\": {\"columns\": 6}}", "config_hash": "ca48c99147b22c2d", "title": null, "icon": null, "require_admin": null, "show_in_sidebar": null, "MandatoryBPS": true, "BestPracticeKey": null, "return_screenshot": false, "view_path": null}, "execution_time_ms": 16.21723175048828, "success": true, "error_message": null, "response_size_bytes": 30610, "user_context": null} +{"timestamp": "2026-08-09T01:33:08.065395+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": 2.7425289154052734, "success": true, "error_message": null, "response_size_bytes": 7127, "user_context": null} diff --git a/.storage/lovelace.printer_stats b/.storage/lovelace.printer_stats index 243d852..423be9b 100644 --- a/.storage/lovelace.printer_stats +++ b/.storage/lovelace.printer_stats @@ -100,8 +100,8 @@ } }, { - "type": "tile", - "entity": "sensor.octoprint_elapsed", + "type": "custom:mushroom-template-card", + "primary": "{{ (states('sensor.octoprint_elapsed') | float(0) / 60) | round(0) | int }} min", "name": "Elapsed", "icon": "mdi:clock-start", "grid_options": { @@ -109,8 +109,8 @@ } }, { - "type": "tile", - "entity": "sensor.octoprint_time_left", + "type": "custom:mushroom-template-card", + "primary": "{{ (states('sensor.octoprint_time_left') | float(0) / 60) | round(0) | int }} min", "name": "Remaining", "icon": "mdi:clock-end", "grid_options": { diff --git a/zigbee2mqtt/state.json b/zigbee2mqtt/state.json index da602c0..733cf99 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.9, + "voltage": 120.8, "countdown_to_turn_on": 0, "ac_frequency": 60, "power_factor": 0.14, @@ -27,7 +27,7 @@ "led_brightness": 100, "countdown_to_turn_off": 0, "countdown_to_turn_on": 0, - "power": 2.2, + "power": 2.8, "current": 0.12, "energy": 27.67, "power_factor": 0.15, @@ -78,7 +78,7 @@ "state": "ON", "ac_frequency": 60, "energy": 105.46, - "power": 103.9, + "power": 103.6, "current": 0.96, "power_factor": 0.94, "update": { @@ -95,13 +95,13 @@ "led_brightness": 100, "countdown_to_turn_off": 0, "countdown_to_turn_on": 0, - "voltage": 119.9, + "voltage": 119.8, "energy": 45.45, "state": "ON", - "power": 49.7, - "current": 0.58, + "power": 37.6, + "current": 0.46, "ac_frequency": 60, - "power_factor": 0.76, + "power_factor": 0.75, "update": { "state": "idle", "installed_version": 268513381, @@ -114,7 +114,7 @@ }, "0xffffb40e060895b3": { "state": "ON", - "voltage": 120.8, + "voltage": 120.7, "ac_frequency": 60, "energy": 6.99, "current": 0.02, @@ -136,14 +136,14 @@ "0xffffb40e0608864e": { "led_brightness": 100, "countdown_to_turn_off": 0, - "voltage": 121.6, + "voltage": 122, "energy": 17.47, "countdown_to_turn_on": 0, "state": "ON", "current": 0.02, "ac_frequency": 60, "power": 0.4, - "power_factor": 0.14, + "power_factor": 0.18, "update": { "state": "idle", "installed_version": 268513381, @@ -172,7 +172,7 @@ "0xffffb40e060893d8": { "state": "ON", "led_brightness": 100, - "voltage": 122.2, + "voltage": 121.8, "countdown_to_turn_off": 0, "countdown_to_turn_on": 0, "energy": 3.05, @@ -187,8 +187,8 @@ "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_factor": 0.07, - "power": 4.7 + "power_factor": 0.13, + "power": 1.4 }, "0xa4c1380d0679ffff": { "battery": 100,