.ha_mcp/logs/mcp_usage.jsonl, zigbee2mqtt/state.json
This commit is contained in:
@@ -4178,3 +4178,4 @@
|
||||
{"timestamp": "2026-10-09T00:42:57.736292+00:00", "tool_name": "ha_eval_template", "parameters": {"template": "SIMULATE CFS spool 6 exhausted/absent for #f8e911:\n\nWITH location filter:\n{% set ns = namespace(id='') %}{% for e in integration_entities('spoolman') %}{% if e.endswith('_color_hex') and (states(e) | replace('#', '') | lower) == 'f8e911' and (state_attr(e[:-10], 'location') | default('', true) | lower) == 'cfs lite' %}{% set b = e[:-10] %}{% if not b.endswith('_6') and (states(b) | float(0)) > 0 and ns.id == '' %}{% set ns.id = states(b ~ '_id') %}{% endif %}{% endif %}{% endfor %}-> spool {{ ns.id if ns.id else 'NO MATCH (correct - skips deduction)' }}\n\nWITHOUT location filter (old logic):\n{% set ns2 = namespace(id='') %}{% for e in integration_entities('spoolman') %}{% if e.endswith('_color_hex') and (states(e) | replace('#', '') | lower) == 'f8e911' %}{% set b = e[:-10] %}{% if not b.endswith('_6') and (states(b) | float(0)) > 0 and ns2.id == '' %}{% set ns2.id = states(b ~ '_id') %}{% endif %}{% endif %}{% endfor %}-> spool {{ ns2.id if ns2.id else 'NO MATCH' }} (would WRONGLY deduct from Storage spool 7)", "condition": null, "variables": null, "strict": false, "timeout": 3, "report_errors": true}, "execution_time_ms": 36.47112846374512, "success": true, "error_message": null, "response_size_bytes": 1637, "user_context": null}
|
||||
{"timestamp": "2026-10-09T00:46:06.326271+00:00", "tool_name": "ha_reload_core", "parameters": {"target": "all", "entry_id": "01M4E507NTYVDXT6ZHX4HMX9XV"}, "execution_time_ms": 6745.303153991699, "success": true, "error_message": null, "response_size_bytes": 166, "user_context": null}
|
||||
{"timestamp": "2026-10-09T00:46:10.257288+00:00", "tool_name": "ha_eval_template", "parameters": {"template": "{% for e in integration_entities('spoolman') if e.endswith('_color_hex') %}\n{% set b = e[:-10] %}\n{{ states(b ~ '_id') | string }} | loc={{ state_attr(b, 'location') | default('MISSING', true) }} | rem={{ states(b) }} g\n{% endfor %}", "condition": null, "variables": null, "strict": false, "timeout": 3, "report_errors": true}, "execution_time_ms": 28.278350830078125, "success": true, "error_message": null, "response_size_bytes": 722, "user_context": null}
|
||||
{"timestamp": "2026-10-09T00:57:55.167503+00:00", "tool_name": "ha_search", "parameters": {"query": "spoolman", "domain_filter": "sensor", "area_filter": null, "search_types": null, "limit": 25, "offset": 0, "exact_match": true, "include_hidden": true, "include_config": false, "group_by_domain": false, "per_domain_limit": null, "state_filter": "unknown", "result_fields": null, "fields": null, "config_time_budget": null, "ctx": {"_STATE_TTL_SECONDS": 86400}}, "execution_time_ms": 73.99439811706543, "success": true, "error_message": null, "response_size_bytes": 1874, "user_context": null}
|
||||
|
||||
+11
-11
@@ -1,13 +1,13 @@
|
||||
{
|
||||
"0xffffb40e0607ace4": {
|
||||
"energy": 23.4,
|
||||
"energy": 23.41,
|
||||
"state": "ON",
|
||||
"led_brightness": 100,
|
||||
"countdown_to_turn_off": 0,
|
||||
"voltage": 120.2,
|
||||
"voltage": 119.6,
|
||||
"countdown_to_turn_on": 0,
|
||||
"ac_frequency": 60,
|
||||
"power_factor": 0.42,
|
||||
"power_factor": 0.51,
|
||||
"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.5,
|
||||
"power": 202.4,
|
||||
"linkquality": 149,
|
||||
"current": 0.07,
|
||||
"current": 2.83,
|
||||
"power_on_behavior": "on"
|
||||
},
|
||||
"0xffffb40e0607af27": {
|
||||
@@ -27,7 +27,7 @@
|
||||
"led_brightness": 100,
|
||||
"countdown_to_turn_off": 0,
|
||||
"countdown_to_turn_on": 0,
|
||||
"power": 1.9,
|
||||
"power": 2.1,
|
||||
"current": 0.09,
|
||||
"energy": 54.08,
|
||||
"power_factor": 0.17,
|
||||
@@ -74,7 +74,7 @@
|
||||
"led_brightness": 100,
|
||||
"countdown_to_turn_off": 0,
|
||||
"countdown_to_turn_on": 0,
|
||||
"voltage": 119.2,
|
||||
"voltage": 119.5,
|
||||
"state": "ON",
|
||||
"ac_frequency": 60,
|
||||
"energy": 211.1,
|
||||
@@ -95,10 +95,10 @@
|
||||
"led_brightness": 100,
|
||||
"countdown_to_turn_off": 0,
|
||||
"countdown_to_turn_on": 0,
|
||||
"voltage": 119.2,
|
||||
"voltage": 119.6,
|
||||
"energy": 100.78,
|
||||
"state": "ON",
|
||||
"power": 10.9,
|
||||
"power": 10.6,
|
||||
"current": 0.17,
|
||||
"ac_frequency": 60,
|
||||
"power_factor": 0.51,
|
||||
@@ -114,7 +114,7 @@
|
||||
},
|
||||
"0xffffb40e060895b3": {
|
||||
"state": "ON",
|
||||
"voltage": 120.2,
|
||||
"voltage": 120.1,
|
||||
"ac_frequency": 60,
|
||||
"energy": 14.23,
|
||||
"current": 0.01,
|
||||
@@ -142,7 +142,7 @@
|
||||
"state": "ON",
|
||||
"current": 0.02,
|
||||
"ac_frequency": 60,
|
||||
"power": 0.4,
|
||||
"power": 0.3,
|
||||
"power_factor": 0.15,
|
||||
"update": {
|
||||
"state": "idle",
|
||||
|
||||
Reference in New Issue
Block a user