From 40231507e8a6eea5c41c9f7a084cfda3461027e9 Mon Sep 17 00:00:00 2001 From: Home Assistant Version Control Date: Fri, 9 Oct 2026 00:28:38 +0000 Subject: [PATCH] .ha_mcp/logs/mcp_usage.jsonl, zigbee2mqtt/state.json --- .ha_mcp/logs/mcp_usage.jsonl | 1 + zigbee2mqtt/state.json | 38 ++++++++++++++++++------------------ 2 files changed, 20 insertions(+), 19 deletions(-) diff --git a/.ha_mcp/logs/mcp_usage.jsonl b/.ha_mcp/logs/mcp_usage.jsonl index 3b427123..8635f52e 100644 --- a/.ha_mcp/logs/mcp_usage.jsonl +++ b/.ha_mcp/logs/mcp_usage.jsonl @@ -4149,3 +4149,4 @@ {"timestamp": "2026-10-09T00:25:30.942916+00:00", "tool_name": "ha_config_get_script", "parameters": {"script_id": "spoolman_set_spool_remaining"}, "execution_time_ms": 200.36888122558594, "success": true, "error_message": null, "response_size_bytes": 2243, "user_context": null} {"timestamp": "2026-10-09T00:26:17.997062+00:00", "tool_name": "ha_config_get_dashboard", "parameters": {"url_path": "sparkx-i7", "list_only": false, "force_reload": false, "entity_id": "sensor.sparkx_i7_active_filament_slot", "card_type": null, "heading": null, "include_config": false, "include_screenshot": false, "view_path": null, "mode": null, "query": null}, "execution_time_ms": 18.42188835144043, "success": true, "error_message": null, "response_size_bytes": 1379, "user_context": null} {"timestamp": "2026-10-09T00:26:18.432267+00:00", "tool_name": "ha_config_set_script", "parameters": {"script_id": "spoolman_set_spool_remaining", "config": null, "python_transform": "config['sequence'][0]['variables']['resolved_id'] = \"{% set n = (slot | int(0)) if slot is defined else 0 %}{% if n >= 1 %}{% set color = states('sensor.sparkx_i7_cfs_box_1_slot_' ~ (n | int) ~ '_color') | replace('#', '') | lower %}{% set ns = namespace(id='') %}{% for e in integration_entities('spoolman') %}{% if e.endswith('_color_hex') and (states(e) | replace('#', '') | lower) == color and (state_attr(e[:-10], 'location') | default('', true) | lower) == 'cfs lite' and ns.id == '' %}{% set ns.id = states(e[:-10] ~ '_id') %}{% endif %}{% endfor %}{{ ns.id }}{% else %}{{ (spool_id | int(0)) if spool_id is defined else 0 }}{% endif %}\"\nconfig['description'] = \"Sets a Spoolman spool remaining weight from the shared helper input_number.spoolman_set_remaining. Pass slot (1-4) to resolve the spool by the CFS slot color hex in the CFS Lite location (no remaining-weight guard, so an exhausted spool can be reset to full), or pass spool_id directly. Notifies via persistent notification when nothing could be resolved.\"\nconfig['sequence'][1]['default'][0]['data']['message'] = \"{% if slot_n | int >= 1 %}No Spoolman spool matched CFS slot {{ slot_n }} (color {{ states('sensor.sparkx_i7_cfs_box_1_slot_' ~ (slot_n | int) ~ '_color') }}) in the CFS Lite location - register a spool with that color hex and location in Spoolman, then try again.{% else %}No spool resolved - pass spool_id or a CFS slot 1-4. Nothing was set.{% endif %}\"", "config_hash": "542a20670ad93849", "take_control_of_blueprint": false, "category": null, "wait": true, "run": null, "variables": null, "MandatoryBPS": false, "BestPracticeKey": null}, "execution_time_ms": 344.653844833374, "success": true, "error_message": null, "response_size_bytes": 6644, "user_context": null} +{"timestamp": "2026-10-09T00:28:31.374329+00:00", "tool_name": "ha_config_get_script", "parameters": {"script_id": "spoolman_set_spool_remaining"}, "execution_time_ms": 54.20660972595215, "success": true, "error_message": null, "response_size_bytes": 2386, "user_context": null} diff --git a/zigbee2mqtt/state.json b/zigbee2mqtt/state.json index 08968f02..3b9d4b1d 100644 --- a/zigbee2mqtt/state.json +++ b/zigbee2mqtt/state.json @@ -1,13 +1,13 @@ { "0xffffb40e0607ace4": { - "energy": 23.34, + "energy": 23.35, "state": "ON", "led_brightness": 100, "countdown_to_turn_off": 0, - "voltage": 119.7, + "voltage": 119.6, "countdown_to_turn_on": 0, "ac_frequency": 60, - "power_factor": 0.43, + "power_factor": 0.62, "update": { "state": "idle", "installed_version": 268513381, @@ -15,9 +15,9 @@ "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": 3.9, + "power": 24.5, "linkquality": 149, - "current": 0.07, + "current": 0.46, "power_on_behavior": "on" }, "0xffffb40e0607af27": { @@ -27,8 +27,8 @@ "led_brightness": 100, "countdown_to_turn_off": 0, "countdown_to_turn_on": 0, - "power": 2.2, - "current": 0.1, + "power": 2.1, + "current": 0.09, "energy": 54.08, "power_factor": 0.18, "update": { @@ -58,13 +58,13 @@ "latest_release_notes": null }, "linkquality": 145, - "power": 0.2, - "current": 0.01, + "power": 84.5, + "current": 0.83, "power_on_behavior": "on" }, "0xb40e060fffe031e3": { "battery": 100, - "contact": false, + "contact": true, "tamper": false, "battery_low": false, "linkquality": 149, @@ -74,11 +74,11 @@ "led_brightness": 100, "countdown_to_turn_off": 0, "countdown_to_turn_on": 0, - "voltage": 117.6, + "voltage": 118, "state": "ON", "ac_frequency": 60, - "energy": 211.05, - "power": 100.2, + "energy": 211.06, + "power": 100, "current": 0.92, "power_factor": 0.95, "update": { @@ -95,13 +95,13 @@ "led_brightness": 100, "countdown_to_turn_off": 0, "countdown_to_turn_on": 0, - "voltage": 120, + "voltage": 118.9, "energy": 100.77, "state": "ON", - "power": 23.5, - "current": 0.37, + "power": 10.8, + "current": 0.18, "ac_frequency": 60, - "power_factor": 0.58, + "power_factor": 0.5, "update": { "state": "idle", "installed_version": 268513381, @@ -114,7 +114,7 @@ }, "0xffffb40e060895b3": { "state": "ON", - "voltage": 121.2, + "voltage": 119.5, "ac_frequency": 60, "energy": 14.23, "current": 0.01, @@ -136,7 +136,7 @@ "0xffffb40e0608864e": { "led_brightness": 100, "countdown_to_turn_off": 0, - "voltage": 115.9, + "voltage": 119.9, "energy": 34.53, "countdown_to_turn_on": 0, "state": "ON",