From 6cfbc9a91e822e928221a175f1c1d43f3eafa80f Mon Sep 17 00:00:00 2001 From: Home Assistant Version Control Date: Fri, 16 Oct 2026 20:28:26 +0000 Subject: [PATCH] .ha_mcp/logs/mcp_usage.jsonl, zigbee2mqtt/state.json --- .ha_mcp/logs/mcp_usage.jsonl | 1 + zigbee2mqtt/state.json | 28 ++++++++++++++-------------- 2 files changed, 15 insertions(+), 14 deletions(-) diff --git a/.ha_mcp/logs/mcp_usage.jsonl b/.ha_mcp/logs/mcp_usage.jsonl index f656f324..0ed374bf 100644 --- a/.ha_mcp/logs/mcp_usage.jsonl +++ b/.ha_mcp/logs/mcp_usage.jsonl @@ -4775,3 +4775,4 @@ {"timestamp": "2026-10-16T20:20:32.926867+00:00", "tool_name": "ha_get_state", "parameters": {"entity_id": ["sensor.cfs_lite_1_remaining", "sensor.cfs_lite_2_remaining", "sensor.cfs_lite_3_remaining", "sensor.cfs_lite_4_remaining", "sensor.filament_storage_remaining"], "fields": ["entity_id", "state", "attributes"], "attribute_keys": ["friendly_name", "unit_of_measurement"]}, "execution_time_ms": 23.16761016845703, "success": true, "error_message": null, "response_size_bytes": 1316, "user_context": null} {"timestamp": "2026-10-16T20:20:32.927994+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": ["remaining_weight", "filament_weight", "filament_color_hex", "filament_name", "location"]}, "execution_time_ms": 23.519515991210938, "success": true, "error_message": null, "response_size_bytes": 1441, "user_context": null} {"timestamp": "2026-10-16T20:21:51.838041+00:00", "tool_name": "ha_config_set_dashboard", "parameters": {"url_path": "3d-printer-cellphone", "config": null, "python_transform": "cards = config['views'][0]['sections'][0]['cards']\nif len(cards) > 1 and cards[1].get('type') == 'horizontal-stack':\n cards[1] = {\n \"type\": \"horizontal-stack\",\n \"grid_options\": {\"columns\": \"full\"},\n \"cards\": [\n {\"type\": \"custom:mushroom-template-card\", \"entity\": \"sensor.sparkx_i7_cfs_box_1_slot_1_color\", \"name\": \"\", \"icon\": \"none\", \"primary\": \"{% if states('sensor.sparkx_i7_print_status') in ['printing', 'paused'] %}{% set gcm = states('input_number.sparkx_i7_filament_g_cm') | float(0.0298) %}{% set cur = states('sensor.sparkx_i7_used_material_length') | float(0) %}{% set ck = states('input_number.sparkx_i7_spoolman_length_checkpoint') | float(0) %}{% set booked = states('input_number.sparkx_i7_slot_1_grams') | float(0) %}{% set live = booked + ((([cur - ck, 0] | max) * gcm) if states('sensor.sparkx_i7_active_filament_slot') == 'box_1_slot_1' else 0) %}{{ live | round(1) }}g{% else %}{{ (states('input_number.sparkx_i7_slot_1_grams') | float(0)) | round(1) }}g{% endif %}\", \"secondary\": \"\", \"card_mod\": {\"style\": \"ha-card { text-align: left; padding: 0 4px; font-size: 12px; line-height: 1.2; } .mushroom-state { text-align: left; }\"}},\n {\"type\": \"custom:mushroom-template-card\", \"entity\": \"sensor.sparkx_i7_cfs_box_1_slot_2_color\", \"name\": \"\", \"icon\": \"none\", \"primary\": \"{% if states('sensor.sparkx_i7_print_status') in ['printing', 'paused'] %}{% set gcm = states('input_number.sparkx_i7_filament_g_cm') | float(0.0298) %}{% set cur = states('sensor.sparkx_i7_used_material_length') | float(0) %}{% set ck = states('input_number.sparkx_i7_spoolman_length_checkpoint') | float(0) %}{% set booked = states('input_number.sparkx_i7_slot_2_grams') | float(0) %}{% set live = booked + ((([cur - ck, 0] | max) * gcm) if states('sensor.sparkx_i7_active_filament_slot') == 'box_1_slot_2' else 0) %}{{ live | round(1) }}g{% else %}{{ (states('input_number.sparkx_i7_slot_2_grams') | float(0)) | round(1) }}g{% endif %}\", \"secondary\": \"\", \"card_mod\": {\"style\": \"ha-card { text-align: left; padding: 0 4px; font-size: 12px; line-height: 1.2; } .mushroom-state { text-align: left; }\"}},\n {\"type\": \"custom:mushroom-template-card\", \"entity\": \"sensor.sparkx_i7_cfs_box_1_slot_3_color\", \"name\": \"\", \"icon\": \"none\", \"primary\": \"{% if states('sensor.sparkx_i7_print_status') in ['printing', 'paused'] %}{% set gcm = states('input_number.sparkx_i7_filament_g_cm') | float(0.0298) %}{% set cur = states('sensor.sparkx_i7_used_material_length') | float(0) %}{% set ck = states('input_number.sparkx_i7_spoolman_length_checkpoint') | float(0) %}{% set booked = states('input_number.sparkx_i7_slot_3_grams') | float(0) %}{% set live = booked + ((([cur - ck, 0] | max) * gcm) if states('sensor.sparkx_i7_active_filament_slot') == 'box_1_slot_3' else 0) %}{{ live | round(1) }}g{% else %}{{ (states('input_number.sparkx_i7_slot_3_grams') | float(0)) | round(1) }}g{% endif %}\", \"secondary\": \"\", \"card_mod\": {\"style\": \"ha-card { text-align: left; padding: 0 4px; font-size: 12px; line-height: 1.2; } .mushroom-state { text-align: left; }\"}},\n {\"type\": \"custom:mushroom-template-card\", \"entity\": \"sensor.sparkx_i7_cfs_box_1_slot_4_color\", \"name\": \"\", \"icon\": \"none\", \"primary\": \"{% if states('sensor.sparkx_i7_print_status') in ['printing', 'paused'] %}{% set gcm = states('input_number.sparkx_i7_filament_g_cm') | float(0.0298) %}{% set cur = states('sensor.sparkx_i7_used_material_length') | float(0) %}{% set ck = states('input_number.sparkx_i7_spoolman_length_checkpoint') | float(0) %}{% set booked = states('input_number.sparkx_i7_slot_4_grams') | float(0) %}{% set live = booked + ((([cur - ck, 0] | max) * gcm) if states('sensor.sparkx_i7_active_filament_slot') == 'box_1_slot_4' else 0) %}{{ live | round(1) }}g{% else %}{{ (states('input_number.sparkx_i7_slot_4_grams') | float(0)) | round(1) }}g{% endif %}\", \"secondary\": \"\", \"card_mod\": {\"style\": \"ha-card { text-align: left; padding: 0 4px; font-size: 12px; line-height: 1.2; } .mushroom-state { text-align: left; }\"}}\n ]\n }\nconfig['views'][0]['sections'][0]['cards'] = cards", "config_hash": "af79698d55c02670", "title": null, "icon": null, "require_admin": null, "show_in_sidebar": null, "MandatoryBPS": true, "BestPracticeKey": null, "return_screenshot": false, "view_path": null, "patch": null}, "execution_time_ms": 7990.61918258667, "success": true, "error_message": null, "response_size_bytes": 35743, "user_context": null} +{"timestamp": "2026-10-16T20:28:19.690667+00:00", "tool_name": "ha_config_get_dashboard", "parameters": {"url_path": "3d-printer-cellphone", "list_only": false, "force_reload": false, "entity_id": null, "card_type": null, "heading": null, "include_config": false, "include_screenshot": false, "view_path": null, "query": null, "describe": false}, "execution_time_ms": 52.933454513549805, "success": true, "error_message": null, "response_size_bytes": 23290, "user_context": null} diff --git a/zigbee2mqtt/state.json b/zigbee2mqtt/state.json index cb9c2356..205c5a3c 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.7, + "voltage": 121.2, "countdown_to_turn_on": 0, "ac_frequency": 60, "power_factor": 0.11, @@ -27,7 +27,7 @@ "led_brightness": 100, "countdown_to_turn_off": 0, "countdown_to_turn_on": 0, - "power": 2.5, + "power": 2.1, "current": 0.1, "energy": 57.31, "power_factor": 0.17, @@ -45,7 +45,7 @@ "state": "ON", "led_brightness": 100, "countdown_to_turn_off": 0, - "voltage": 120.2, + "voltage": 120.7, "countdown_to_turn_on": 0, "energy": 110.72, "power_factor": 0.31, @@ -74,13 +74,13 @@ "led_brightness": 100, "countdown_to_turn_off": 0, "countdown_to_turn_on": 0, - "voltage": 118.8, + "voltage": 119.3, "state": "ON", "ac_frequency": 60, - "energy": 224.75, - "power": 99.8, - "current": 0.92, - "power_factor": 0.39, + "energy": 224.76, + "power": 96.7, + "current": 0.87, + "power_factor": 0.95, "update": { "state": "idle", "installed_version": 268513381, @@ -98,10 +98,10 @@ "voltage": 120.3, "energy": 105.72, "state": "ON", - "power": 54.5, - "current": 0.67, + "power": 57.3, + "current": 0.59, "ac_frequency": 60, - "power_factor": 0.8, + "power_factor": 0.81, "update": { "state": "idle", "installed_version": 268513381, @@ -114,7 +114,7 @@ }, "0xffffb40e060895b3": { "state": "ON", - "voltage": 120.3, + "voltage": 120.8, "ac_frequency": 60, "energy": 15.42, "current": 0.01, @@ -136,7 +136,7 @@ "0xffffb40e0608864e": { "led_brightness": 100, "countdown_to_turn_off": 0, - "voltage": 120.5, + "voltage": 121, "energy": 39.11, "countdown_to_turn_on": 0, "state": "ON", @@ -171,7 +171,7 @@ }, "0xa4c1380d0679ffff": { "battery": 100, - "temperature": 10.5, + "temperature": 10.6, "temperature_units": "celsius", "temperature_calibration": 0, "update": {