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

This commit is contained in:
Home Assistant Version Control
2026-10-15 14:45:13 +00:00
parent a218a7bf31
commit 19a8269cb4
2 changed files with 25 additions and 21 deletions
+4
View File
@@ -4581,3 +4581,7 @@
{"timestamp": "2026-10-15T13:47:02.626845+00:00", "tool_name": "ha_eval_template", "parameters": {"template": "{% for e in integration_entities('spoolman') if e.endswith('_color_hex') %}{{ e[:-10].split('.')[-1] }} | loc={{ state_attr(e[:-10],'location') }} | rem={{ states(e[:-10]) }} | name={{ state_attr(e[:-10],'filament_name') }}{% endfor %}", "condition": null, "variables": null, "strict": false, "timeout": 3, "report_errors": true}, "execution_time_ms": 77.65364646911621, "success": true, "error_message": null, "response_size_bytes": 1018, "user_context": null}
{"timestamp": "2026-10-15T13:47:38.367245+00:00", "tool_name": "ha_eval_template", "parameters": {"template": "{% set col = states('sensor.sparkx_i7_slot_1_color_name') %}{% set color = states('sensor.sparkx_i7_cfs_box_1_slot_1_color') | replace('#','') | lower %}{% set ns = namespace(id='', rem=0, base=0) %}{% for e in integration_entities('spoolman') if e.endswith('_color_hex') %}{% if ns.id == '' and (states(e) | replace('#','') | lower) == color and (state_attr(e[:-10], 'location') | default('', true) | lower) == 'cfs lite' %}{% set ns.id = states(e[:-10] ~ '_id') %}{% set ns.rem = states(e[:-10]) | float(0) %}{% set ns.base = state_attr(e[:-10], 'filament_weight') | float(0) %}{% endif %}{% endfor %}LIVE-> {% if col %}{{ col }} · {% endif %}{% if ns.id != '' %}{{ ns.rem | round(0) | int }} g left ({{ (ns.rem / ns.base * 100) | round(0) | int if ns.base > 0 else 0 }}%){% else %}no spool matched{% endif %} | colour={{ color }} | slot1name={{ states('sensor.sparkx_i7_cfs_box_1_slot_1_filament') }}", "condition": null, "variables": null, "strict": false, "timeout": 3, "report_errors": true}, "execution_time_ms": 28.789043426513672, "success": true, "error_message": null, "response_size_bytes": 1536, "user_context": null}
{"timestamp": "2026-10-15T13:47:38.368370+00:00", "tool_name": "ha_eval_template", "parameters": {"template": "{% set aslot = states('sensor.sparkx_i7_active_filament_slot') %}aslot={{ aslot }} | active_colour_name={{ states('sensor.sparkx_i7_slot_' ~ (aslot.split('_')[-1]) ~ '_color_name') if aslot.split('_')[-1] in ['1','2','3','4'] else 'n/a' }} | status={{ states('sensor.sparkx_i7_print_status') }}", "condition": null, "variables": null, "strict": false, "timeout": 3, "report_errors": true}, "execution_time_ms": 14.940977096557617, "success": true, "error_message": null, "response_size_bytes": 589, "user_context": null}
{"timestamp": "2026-10-15T14:45:06.305196+00:00", "tool_name": "ha_config_list_helpers", "parameters": {"helper_type": "input_text", "limit": 100, "offset": 0, "describe": false, "menu_choice": null, "helper_id": null}, "execution_time_ms": 8.593082427978516, "success": true, "error_message": null, "response_size_bytes": 1855, "user_context": null}
{"timestamp": "2026-10-15T14:45:06.306064+00:00", "tool_name": "ha_config_get_dashboard", "parameters": {"url_path": null, "list_only": true, "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": 5.503654479980469, "success": true, "error_message": null, "response_size_bytes": 2533, "user_context": null}
{"timestamp": "2026-10-15T14:45:12.492465+00:00", "tool_name": "ha_config_get_dashboard", "parameters": {"url_path": "sparkx-i7", "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": 129.44340705871582, "success": true, "error_message": null, "response_size_bytes": 61228, "user_context": null}
{"timestamp": "2026-10-15T14:45:12.536926+00:00", "tool_name": "ha_search", "parameters": {"query": "sparkx", "domain_filter": null, "area_filter": null, "search_types": null, "limit": 40, "offset": 0, "exact_match": true, "include_hidden": true, "include_config": false, "group_by_domain": false, "per_domain_limit": null, "state_filter": null, "result_fields": ["entity_id", "state", "friendly_name"], "fields": null, "config_time_budget": null, "ctx": "Context(_STATE_TTL_SECONDS=86400)"}, "execution_time_ms": 177.70075798034668, "success": true, "error_message": null, "response_size_bytes": 13854, "user_context": null}
+21 -21
View File
@@ -4,7 +4,7 @@
"state": "ON",
"led_brightness": 100,
"countdown_to_turn_off": 0,
"voltage": 119.8,
"voltage": 119.5,
"countdown_to_turn_on": 0,
"ac_frequency": 60,
"power_factor": 0.14,
@@ -22,7 +22,7 @@
},
"0xffffb40e0607af27": {
"state": "ON",
"voltage": 119.4,
"voltage": 119.1,
"ac_frequency": 60,
"led_brightness": 100,
"countdown_to_turn_off": 0,
@@ -30,7 +30,7 @@
"power": 2,
"current": 0.09,
"energy": 57.13,
"power_factor": 0.19,
"power_factor": 0.18,
"update": {
"state": "idle",
"installed_version": 268513381,
@@ -45,10 +45,10 @@
"state": "ON",
"led_brightness": 100,
"countdown_to_turn_off": 0,
"voltage": 118.8,
"voltage": 119.5,
"countdown_to_turn_on": 0,
"energy": 109.55,
"power_factor": 0.9,
"energy": 109.58,
"power_factor": 0.31,
"ac_frequency": 60,
"update": {
"state": "idle",
@@ -58,8 +58,8 @@
"latest_release_notes": null
},
"linkquality": 145,
"power": 84.5,
"current": 0.82,
"power": 84.2,
"current": 0.8,
"power_on_behavior": "on"
},
"0xb40e060fffe031e3": {
@@ -77,10 +77,10 @@
"voltage": 118.3,
"state": "ON",
"ac_frequency": 60,
"energy": 222.58,
"power": 99.9,
"current": 0.92,
"power_factor": 0.93,
"energy": 222.62,
"power": 96.4,
"current": 0.94,
"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": 119.2,
"energy": 104.2,
"voltage": 119.8,
"energy": 104.22,
"state": "ON",
"power": 40.1,
"current": 0.45,
"power": 37.9,
"current": 0.43,
"ac_frequency": 60,
"power_factor": 0.85,
"power_factor": 0.74,
"update": {
"state": "idle",
"installed_version": 268513381,
@@ -114,12 +114,12 @@
},
"0xffffb40e060895b3": {
"state": "ON",
"voltage": 119.6,
"voltage": 119.7,
"ac_frequency": 60,
"energy": 15.31,
"current": 0.01,
"power": 0.1,
"power_factor": 0.11,
"power_factor": 0.13,
"linkquality": 116,
"update": {
"state": "idle",
@@ -136,7 +136,7 @@
"0xffffb40e0608864e": {
"led_brightness": 100,
"countdown_to_turn_off": 0,
"voltage": 120.1,
"voltage": 120,
"energy": 37.39,
"countdown_to_turn_on": 0,
"state": "ON",
@@ -224,7 +224,7 @@
},
"0xb40e060fffe717c5": {
"battery": 100,
"occupancy": true,
"occupancy": false,
"tamper": false,
"battery_low": false,
"linkquality": 145,