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

This commit is contained in:
Home Assistant Version Control
2026-08-23 05:44:52 +00:00
parent 4a24ef72b4
commit 717feccbb7
2 changed files with 18 additions and 17 deletions
+1
View File
@@ -1805,3 +1805,4 @@
{"timestamp": "2026-08-23T05:40:02.874987+00:00", "tool_name": "ha_config_set_automation", "parameters": {"config": null, "identifier": "automation.3d_print_early_layers_snapshot", "python_transform": "payload = {\"title\": \"3D print early check\", \"message\": \"Print passed the first few layers (Z crossed 1 mm).\", \"data\": {\"image\": \"/local/octoprint_snapshot.jpg\"}}; targets = [\"notify.mobile_app_sm_f956w\", \"notify.mobile_app_motorola_one_vision\", \"notify.mobile_app_francos_ipad\", \"notify.mobile_app_sm_t387w\"]; steps = [{\"action\": t, \"data\": payload} for t in targets]; steps.append({\"action\": \"telegram_bot.send_photo\", \"data\": {\"entity_id\": \"notify.franco\", \"file\": \"/config/www/octoprint_snapshot.jpg\", \"caption\": \"Print passed the first few layers (Z crossed 1 mm).\"}}); config[\"actions\"] = [{\"action\": \"camera.snapshot\", \"target\": {\"entity_id\": \"camera.endercamera_duckdns_org\"}, \"data\": {\"filename\": \"/config/www/octoprint_snapshot.jpg\"}}, {\"parallel\": steps}]", "config_hash": "d6a2668e4b702647", "category": null, "wait": true, "MandatoryBPS": false, "BestPracticeKey": null}, "execution_time_ms": 1010.2987289428711, "success": true, "error_message": null, "response_size_bytes": 1119, "user_context": null}
{"timestamp": "2026-08-23T05:40:16.112775+00:00", "tool_name": "ha_call_service", "parameters": {"domain": "automation", "service": "trigger", "entity_id": "automation.3d_print_complete_snapshot", "data": null, "return_response": false, "wait": true, "verbose": false, "result_fields": null, "result_attribute_keys": null, "ws_command": null}, "execution_time_ms": 1686.882734298706, "success": true, "error_message": null, "response_size_bytes": 206, "user_context": null}
{"timestamp": "2026-08-23T05:40:25.091857+00:00", "tool_name": "ha_get_automation_traces", "parameters": {"automation_id": "automation.3d_print_complete_snapshot", "run_id": null, "limit": 1, "deduplicate": true, "detailed": false, "sections": "actions", "offset": 0, "order": "newest", "ctx": {"_STATE_TTL_SECONDS": 86400}}, "execution_time_ms": 12.108564376831055, "success": true, "error_message": null, "response_size_bytes": 447, "user_context": null}
{"timestamp": "2026-08-23T05:44:46.656203+00:00", "tool_name": "ha_config_set_automation", "parameters": {"config": null, "identifier": "automation.3d_print_complete_snapshot", "python_transform": "for act in config[\"actions\"]:\\n if \"parallel\" in act: act[\"parallel\"] = [s for s in act[\"parallel\"] if s.get(\"action\") in (\"notify.mobile_app_sm_f956w\", \"telegram_bot.send_photo\")]", "config_hash": "33ecc92b2b703793", "category": null, "wait": true, "MandatoryBPS": false, "BestPracticeKey": null}, "execution_time_ms": 56.000709533691406, "success": false, "error_message": "{\n \"success\": false,\n \"error\": {\n \"code\": \"VALIDATION_FAILED\",\n \"message\": \"Expression validation failed: Syntax error: unexpected character after line continuation character (<unknown>, line 1)\",\n \"suggestion\": \"Remove the leading backslash before quotes \\u2014 write \\\"foo\\\" not \\\\\\\"foo\\\\\\\" in the Python source.\",\n \"suggestions\": [\n \"Remove the leading backslash before quotes \\u2014 write \\\"foo\\\" not \\\\\\\"foo\\\\\\\" in the Python source.\",\n \"Check expression syntax\",\n \"Ensure only allowed operations are used\",\n \"See tool description for allowed operations\",\n \"Expression: for act in config[\\\"actions\\\"]:\\\\n if \\\"parallel\\\" in act: act[\\\"parallel\\\"] = [s for s in act[\\\"parallel...\",\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 \"identifier\": \"automation.3d_print_complete_snapshot\"\n}", "response_size_bytes": null, "user_context": null}
+17 -17
View File
@@ -27,7 +27,7 @@
"led_brightness": 100,
"countdown_to_turn_off": 0,
"countdown_to_turn_on": 0,
"power": 2,
"power": 2.4,
"current": 0.1,
"energy": 32.28,
"power_factor": 0.16,
@@ -48,7 +48,7 @@
"voltage": 122,
"countdown_to_turn_on": 0,
"energy": 64.11,
"power_factor": 0.86,
"power_factor": 0.25,
"ac_frequency": 60,
"update": {
"state": "idle",
@@ -58,8 +58,8 @@
"latest_release_notes": null
},
"linkquality": 138,
"power": 82.7,
"current": 0.82,
"power": 0.2,
"current": 0.01,
"power_on_behavior": "on"
},
"0xb40e060fffe031e3": {
@@ -74,12 +74,12 @@
"led_brightness": 100,
"countdown_to_turn_off": 0,
"countdown_to_turn_on": 0,
"voltage": 120.3,
"voltage": 121,
"state": "ON",
"ac_frequency": 60,
"energy": 129.94,
"power": 288.5,
"current": 2.43,
"energy": 129.96,
"power": 94.2,
"current": 0.84,
"power_factor": 0.94,
"update": {
"state": "idle",
@@ -95,13 +95,13 @@
"led_brightness": 100,
"countdown_to_turn_off": 0,
"countdown_to_turn_on": 0,
"voltage": 122.5,
"voltage": 122.4,
"energy": 61.24,
"state": "ON",
"power": 30.2,
"current": 0.39,
"power": 32,
"current": 0.37,
"ac_frequency": 60,
"power_factor": 0.7,
"power_factor": 0.73,
"update": {
"state": "idle",
"installed_version": 268513381,
@@ -119,7 +119,7 @@
"energy": 8.78,
"current": 0.01,
"power": 0.1,
"power_factor": 0.22,
"power_factor": 0.13,
"linkquality": 109,
"update": {
"state": "idle",
@@ -136,7 +136,7 @@
"0xffffb40e0608864e": {
"led_brightness": 100,
"countdown_to_turn_off": 0,
"voltage": 122.7,
"voltage": 122.2,
"energy": 20.08,
"countdown_to_turn_on": 0,
"state": "ON",
@@ -172,7 +172,7 @@
"0xffffb40e060893d8": {
"state": "ON",
"led_brightness": 100,
"voltage": 122.6,
"voltage": 122.2,
"countdown_to_turn_off": 0,
"countdown_to_turn_on": 0,
"energy": 3.39,
@@ -187,12 +187,12 @@
"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_factor": 0.85,
"power_factor": 0.84,
"power": 9.8
},
"0xa4c1380d0679ffff": {
"battery": 100,
"temperature": 27.1,
"temperature": 27,
"temperature_units": "celsius",
"temperature_calibration": 0,
"update": {