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

This commit is contained in:
Home Assistant Version Control
2026-08-26 05:03:04 +00:00
parent 19acb12042
commit c780f0f688
2 changed files with 25 additions and 21 deletions
+4
View File
@@ -2261,3 +2261,7 @@
{"timestamp": "2026-08-26T05:00:11.742610+00:00", "tool_name": "ha_config_get_dashboard", "parameters": {"url_path": "kobo-dashboard", "list_only": false, "force_reload": false, "entity_id": null, "card_type": null, "heading": null, "include_config": false, "include_screenshot": false, "view_path": null, "mode": null, "query": null}, "execution_time_ms": 14.378547668457031, "success": true, "error_message": null, "response_size_bytes": 6795, "user_context": null} {"timestamp": "2026-08-26T05:00:11.742610+00:00", "tool_name": "ha_config_get_dashboard", "parameters": {"url_path": "kobo-dashboard", "list_only": false, "force_reload": false, "entity_id": null, "card_type": null, "heading": null, "include_config": false, "include_screenshot": false, "view_path": null, "mode": null, "query": null}, "execution_time_ms": 14.378547668457031, "success": true, "error_message": null, "response_size_bytes": 6795, "user_context": null}
{"timestamp": "2026-08-26T05:00:12.215177+00:00", "tool_name": "ha_config_get_dashboard", "parameters": {"url_path": "in-meeting", "list_only": false, "force_reload": false, "entity_id": null, "card_type": null, "heading": null, "include_config": false, "include_screenshot": false, "view_path": null, "mode": null, "query": null}, "execution_time_ms": 3.688812255859375, "success": true, "error_message": null, "response_size_bytes": 2632, "user_context": null} {"timestamp": "2026-08-26T05:00:12.215177+00:00", "tool_name": "ha_config_get_dashboard", "parameters": {"url_path": "in-meeting", "list_only": false, "force_reload": false, "entity_id": null, "card_type": null, "heading": null, "include_config": false, "include_screenshot": false, "view_path": null, "mode": null, "query": null}, "execution_time_ms": 3.688812255859375, "success": true, "error_message": null, "response_size_bytes": 2632, "user_context": null}
{"timestamp": "2026-08-26T05:01:29.952731+00:00", "tool_name": "ha_config_set_dashboard", "parameters": {"url_path": "dashboard-home", "config": null, "python_transform": "s = str(config); s = s.replace(\"'light.night_light'\", \"'light.night_light_2'\").replace(\"'light.office_lamp'\", \"'light.office_lamp_2'\").replace(\"'light.bedroom_lamp'\", \"'light.bedroom_lamp_2'\").replace(\"'sensor.night_light_illuminance'\", \"'sensor.night_light_illuminance_2'\"); exec('config.update(eval(s))')", "config_hash": "7703ad8902cf7c4b", "title": null, "icon": null, "require_admin": null, "show_in_sidebar": null, "MandatoryBPS": true, "BestPracticeKey": null, "return_screenshot": false, "view_path": null}, "execution_time_ms": 9.029626846313477, "success": false, "error_message": "{\n \"success\": false,\n \"error\": {\n \"code\": \"VALIDATION_FAILED\",\n \"message\": \"Expression validation failed: Forbidden function: exec\",\n \"suggestion\": \"Check expression syntax\",\n \"suggestions\": [\n \"Check expression syntax\",\n \"Ensure only allowed operations are used\",\n \"See tool description for allowed operations\",\n \"Expression: s = str(config); s = s.replace(\\\"'light.night_light'\\\", \\\"'light.night_light_2'\\\").replace(\\\"'light.offic...\",\n \"For Home Assistant best-practice guidance, call ha_get_skill_guide(skill='home-assistant-best-practices') and consult the relevant reference file before retrying.\"\n ]\n },\n \"action\": \"python_transform\",\n \"url_path\": \"dashboard-home\"\n}", "response_size_bytes": null, "user_context": null} {"timestamp": "2026-08-26T05:01:29.952731+00:00", "tool_name": "ha_config_set_dashboard", "parameters": {"url_path": "dashboard-home", "config": null, "python_transform": "s = str(config); s = s.replace(\"'light.night_light'\", \"'light.night_light_2'\").replace(\"'light.office_lamp'\", \"'light.office_lamp_2'\").replace(\"'light.bedroom_lamp'\", \"'light.bedroom_lamp_2'\").replace(\"'sensor.night_light_illuminance'\", \"'sensor.night_light_illuminance_2'\"); exec('config.update(eval(s))')", "config_hash": "7703ad8902cf7c4b", "title": null, "icon": null, "require_admin": null, "show_in_sidebar": null, "MandatoryBPS": true, "BestPracticeKey": null, "return_screenshot": false, "view_path": null}, "execution_time_ms": 9.029626846313477, "success": false, "error_message": "{\n \"success\": false,\n \"error\": {\n \"code\": \"VALIDATION_FAILED\",\n \"message\": \"Expression validation failed: Forbidden function: exec\",\n \"suggestion\": \"Check expression syntax\",\n \"suggestions\": [\n \"Check expression syntax\",\n \"Ensure only allowed operations are used\",\n \"See tool description for allowed operations\",\n \"Expression: s = str(config); s = s.replace(\\\"'light.night_light'\\\", \\\"'light.night_light_2'\\\").replace(\\\"'light.offic...\",\n \"For Home Assistant best-practice guidance, call ha_get_skill_guide(skill='home-assistant-best-practices') and consult the relevant reference file before retrying.\"\n ]\n },\n \"action\": \"python_transform\",\n \"url_path\": \"dashboard-home\"\n}", "response_size_bytes": null, "user_context": null}
{"timestamp": "2026-08-26T05:02:56.571893+00:00", "tool_name": "ha_config_get_dashboard", "parameters": {"url_path": "dashboard-home", "list_only": false, "force_reload": true, "entity_id": null, "card_type": null, "heading": null, "include_config": false, "include_screenshot": false, "view_path": null, "mode": null, "query": null}, "execution_time_ms": 4.281520843505859, "success": true, "error_message": null, "response_size_bytes": 19080, "user_context": null}
{"timestamp": "2026-08-26T05:02:56.893285+00:00", "tool_name": "ha_config_get_dashboard", "parameters": {"url_path": "alarm-section", "list_only": false, "force_reload": true, "entity_id": null, "card_type": null, "heading": null, "include_config": false, "include_screenshot": false, "view_path": null, "mode": null, "query": null}, "execution_time_ms": 4.537105560302734, "success": true, "error_message": null, "response_size_bytes": 3347, "user_context": null}
{"timestamp": "2026-08-26T05:02:57.196983+00:00", "tool_name": "ha_config_get_dashboard", "parameters": {"url_path": "kobo-dashboard", "list_only": false, "force_reload": true, "entity_id": null, "card_type": null, "heading": null, "include_config": false, "include_screenshot": false, "view_path": null, "mode": null, "query": null}, "execution_time_ms": 3.41796875, "success": true, "error_message": null, "response_size_bytes": 6795, "user_context": null}
{"timestamp": "2026-08-26T05:02:57.550224+00:00", "tool_name": "ha_config_get_dashboard", "parameters": {"url_path": "in-meeting", "list_only": false, "force_reload": true, "entity_id": null, "card_type": null, "heading": null, "include_config": false, "include_screenshot": false, "view_path": null, "mode": null, "query": null}, "execution_time_ms": 1.2028217315673828, "success": true, "error_message": null, "response_size_bytes": 2632, "user_context": null}
+21 -21
View File
@@ -4,10 +4,10 @@
"state": "ON", "state": "ON",
"led_brightness": 100, "led_brightness": 100,
"countdown_to_turn_off": 0, "countdown_to_turn_off": 0,
"voltage": 123.2, "voltage": 123.7,
"countdown_to_turn_on": 0, "countdown_to_turn_on": 0,
"ac_frequency": 60, "ac_frequency": 60,
"power_factor": 0.11, "power_factor": 0.13,
"update": { "update": {
"state": "idle", "state": "idle",
"installed_version": 268513381, "installed_version": 268513381,
@@ -22,15 +22,15 @@
}, },
"0xffffb40e0607af27": { "0xffffb40e0607af27": {
"state": "ON", "state": "ON",
"voltage": 122.3, "voltage": 122.7,
"ac_frequency": 60, "ac_frequency": 60,
"led_brightness": 100, "led_brightness": 100,
"countdown_to_turn_off": 0, "countdown_to_turn_off": 0,
"countdown_to_turn_on": 0, "countdown_to_turn_on": 0,
"power": 2.4, "power": 2.5,
"current": 0.1, "current": 0.1,
"energy": 32.98, "energy": 32.98,
"power_factor": 0.17, "power_factor": 0.16,
"update": { "update": {
"state": "idle", "state": "idle",
"installed_version": 268513381, "installed_version": 268513381,
@@ -45,7 +45,7 @@
"state": "ON", "state": "ON",
"led_brightness": 100, "led_brightness": 100,
"countdown_to_turn_off": 0, "countdown_to_turn_off": 0,
"voltage": 122.4, "voltage": 123.3,
"countdown_to_turn_on": 0, "countdown_to_turn_on": 0,
"energy": 66.56, "energy": 66.56,
"power_factor": 0.2, "power_factor": 0.2,
@@ -58,8 +58,8 @@
"latest_release_notes": null "latest_release_notes": null
}, },
"linkquality": 120, "linkquality": 120,
"power": 208.5, "power": 0.3,
"current": 1.72, "current": 0.03,
"power_on_behavior": "on" "power_on_behavior": "on"
}, },
"0xb40e060fffe031e3": { "0xb40e060fffe031e3": {
@@ -74,11 +74,11 @@
"led_brightness": 100, "led_brightness": 100,
"countdown_to_turn_off": 0, "countdown_to_turn_off": 0,
"countdown_to_turn_on": 0, "countdown_to_turn_on": 0,
"voltage": 121.7, "voltage": 122.2,
"state": "ON", "state": "ON",
"ac_frequency": 60, "ac_frequency": 60,
"energy": 134.71, "energy": 134.72,
"power": 100.1, "power": 100,
"current": 0.85, "current": 0.85,
"power_factor": 0.94, "power_factor": 0.94,
"update": { "update": {
@@ -95,13 +95,13 @@
"led_brightness": 100, "led_brightness": 100,
"countdown_to_turn_off": 0, "countdown_to_turn_off": 0,
"countdown_to_turn_on": 0, "countdown_to_turn_on": 0,
"voltage": 122.5, "voltage": 123,
"energy": 64.37, "energy": 64.37,
"state": "ON", "state": "ON",
"power": 20.7, "power": 20,
"current": 0.56, "current": 0.32,
"ac_frequency": 60, "ac_frequency": 60,
"power_factor": 0.59, "power_factor": 0.6,
"update": { "update": {
"state": "idle", "state": "idle",
"installed_version": 268513381, "installed_version": 268513381,
@@ -114,7 +114,7 @@
}, },
"0xffffb40e060895b3": { "0xffffb40e060895b3": {
"state": "ON", "state": "ON",
"voltage": 123, "voltage": 123.5,
"ac_frequency": 60, "ac_frequency": 60,
"energy": 8.91, "energy": 8.91,
"current": 0.01, "current": 0.01,
@@ -136,7 +136,7 @@
"0xffffb40e0608864e": { "0xffffb40e0608864e": {
"led_brightness": 100, "led_brightness": 100,
"countdown_to_turn_off": 0, "countdown_to_turn_off": 0,
"voltage": 123.3, "voltage": 123.8,
"energy": 20.23, "energy": 20.23,
"countdown_to_turn_on": 0, "countdown_to_turn_on": 0,
"state": "ON", "state": "ON",
@@ -172,13 +172,13 @@
"0xffffb40e060893d8": { "0xffffb40e060893d8": {
"state": "ON", "state": "ON",
"led_brightness": 100, "led_brightness": 100,
"voltage": 122.9, "voltage": 123.9,
"countdown_to_turn_off": 0, "countdown_to_turn_off": 0,
"countdown_to_turn_on": 0, "countdown_to_turn_on": 0,
"energy": 3.72, "energy": 3.72,
"power_on_behavior": "on", "power_on_behavior": "on",
"linkquality": 112, "linkquality": 112,
"current": 0.06, "current": 0.09,
"ac_frequency": 60, "ac_frequency": 60,
"update": { "update": {
"state": "idle", "state": "idle",
@@ -188,11 +188,11 @@
"latest_release_notes": null "latest_release_notes": null
}, },
"power_factor": 0.84, "power_factor": 0.84,
"power": 9.7 "power": 9.8
}, },
"0xa4c1380d0679ffff": { "0xa4c1380d0679ffff": {
"battery": 100, "battery": 100,
"temperature": 27.1, "temperature": 27,
"temperature_units": "celsius", "temperature_units": "celsius",
"temperature_calibration": 0, "temperature_calibration": 0,
"update": { "update": {