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

This commit is contained in:
Home Assistant Version Control committed 2026-08-23 05:44:52 +00:00
1 parent 4a24ef72b4
commit 717feccbb7
2 files changed
+18 -17

No files matched your search

+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}