.ha_mcp/logs/mcp_usage.jsonl, zigbee2mqtt/state.json

This commit is contained in:
Home Assistant Version Control
2026-10-15 16:23:00 +00:00
parent 8141aba5a1
commit 98094fb15d
2 changed files with 19 additions and 18 deletions
+1
View File
@@ -4623,3 +4623,4 @@
{"timestamp": "2026-10-15T16:16:25.506705+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": "location", "describe": false}, "execution_time_ms": 8.988618850708008, "success": true, "error_message": null, "response_size_bytes": 4855, "user_context": null}
{"timestamp": "2026-10-15T16:16:25.507714+00:00", "tool_name": "ha_config_get_dashboard", "parameters": {"url_path": "spoolman-ui", "list_only": false, "force_reload": false, "entity_id": null, "card_type": null, "heading": null, "include_config": false, "include_screenshot": false, "view_path": null, "query": "cfs lite", "describe": false}, "execution_time_ms": 8.598089218139648, "success": true, "error_message": null, "response_size_bytes": 367, "user_context": null}
{"timestamp": "2026-10-15T16:17:10.691742+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": "custom:auto-entities", "heading": null, "include_config": true, "include_screenshot": false, "view_path": null, "query": null, "describe": false}, "execution_time_ms": 36.33856773376465, "success": true, "error_message": null, "response_size_bytes": 3648, "user_context": null}
{"timestamp": "2026-10-15T16:22:54.751679+00:00", "tool_name": "ha_eval_template", "parameters": {"template": "{% set ns = namespace(cards=[]) %}\n{% for n in [1, 2, 3, 4] %}\n {% set sp = namespace(ent='') %}\n {% for s in states.sensor %}\n {% if s.entity_id.startswith('sensor.spoolman_spool_') and s.entity_id.endswith('_color_hex') and sp.ent == '' %}\n {% set loc = (s.attributes.location | default('')) | lower %}\n {% if loc == ('cfs lite ' ~ n) %}\n {% set sp.ent = s.entity_id[:-10] %}\n {% endif %}\n {% endif %}\n {% endfor %}\n {% if sp.ent != '' %}\n {% set hex = state_attr(sp.ent, 'filament_color_hex') | default('44739e') %}\n {% set hex_clean = hex if hex.startswith('#') else '#' ~ hex %}\n {% set remain = (states(sp.ent) | default(0) | float(0)) | round(1) %}\n {% set total = state_attr(sp.ent, 'filament_weight') | float(0) %}\n {% set raw_pct = ((remain / total) * 100) | round(1) if total > 0 else 0 %}\n {% set pct = 0 if raw_pct < 0 else (100 if raw_pct > 100 else raw_pct) %}\n {% set card = {\"slot\": n, \"entity\": sp.ent ~ '_color_hex', \"hex\": hex_clean, \"remain\": remain, \"total\": total, \"pct\": pct} %}\n {% set ns.cards = ns.cards + [card] %}\n {% endif %}\n{% endfor %}\n{{ ns.cards | tojson }}", "condition": null, "variables": null, "strict": false, "timeout": 3, "report_errors": true}, "execution_time_ms": 294.2211627960205, "success": true, "error_message": null, "response_size_bytes": 1327, "user_context": null}
+18 -18
View File
@@ -27,7 +27,7 @@
"led_brightness": 100,
"countdown_to_turn_off": 0,
"countdown_to_turn_on": 0,
"power": 2.1,
"power": 1.1,
"current": 0.09,
"energy": 57.13,
"power_factor": 0.16,
@@ -45,10 +45,10 @@
"state": "ON",
"led_brightness": 100,
"countdown_to_turn_off": 0,
"voltage": 118.7,
"voltage": 119.2,
"countdown_to_turn_on": 0,
"energy": 109.63,
"power_factor": 0.89,
"power_factor": 0.2,
"ac_frequency": 60,
"update": {
"state": "idle",
@@ -58,8 +58,8 @@
"latest_release_notes": null
},
"linkquality": 145,
"power": 83.7,
"current": 0.83,
"power": 0.2,
"current": 0.01,
"power_on_behavior": "on"
},
"0xb40e060fffe031e3": {
@@ -74,11 +74,11 @@
"led_brightness": 100,
"countdown_to_turn_off": 0,
"countdown_to_turn_on": 0,
"voltage": 117.8,
"voltage": 116.9,
"state": "ON",
"ac_frequency": 60,
"energy": 222.73,
"power": 100.6,
"energy": 222.74,
"power": 102,
"current": 0.92,
"power_factor": 0.96,
"update": {
@@ -98,10 +98,10 @@
"voltage": 119.3,
"energy": 104.29,
"state": "ON",
"power": 56.8,
"current": 0.62,
"power": 57.5,
"current": 0.59,
"ac_frequency": 60,
"power_factor": 0.79,
"power_factor": 0.8,
"update": {
"state": "idle",
"installed_version": 268513381,
@@ -114,12 +114,12 @@
},
"0xffffb40e060895b3": {
"state": "ON",
"voltage": 121.1,
"voltage": 119.6,
"ac_frequency": 60,
"energy": 15.31,
"current": 0.01,
"power": 0.1,
"power_factor": 0,
"power_factor": 0.11,
"linkquality": 116,
"update": {
"state": "idle",
@@ -136,14 +136,14 @@
"0xffffb40e0608864e": {
"led_brightness": 100,
"countdown_to_turn_off": 0,
"voltage": 115.2,
"energy": 37.96,
"voltage": 119.8,
"energy": 37.97,
"countdown_to_turn_on": 0,
"state": "ON",
"current": 13.91,
"current": 12.46,
"ac_frequency": 60,
"power": 1580.2,
"power_factor": 0.98,
"power": 1348.8,
"power_factor": 0.45,
"update": {
"state": "idle",
"installed_version": 268513381,