.ha_mcp/logs/mcp_usage.jsonl, zigbee2mqtt/state.json
This commit is contained in:
@@ -3025,3 +3025,6 @@
|
||||
{"timestamp": "2026-08-27T14:27:46.372646+00:00", "tool_name": "ha_config_set_automation", "parameters": {"config": null, "identifier": "automation.3d_printer_running_playroom_light_basement_heat", "python_transform": "for a in config['actions'][0]['choose'][0]['sequence']: \n if a.get('action') == 'light.turn_on' and a.get('target', {}).get('entity_id') == 'light.bedroom_lamp_2':\n a['data']['brightness_pct'] = 100", "config_hash": "d98f5b477b91ca56", "category": null, "wait": true, "MandatoryBPS": true, "BestPracticeKey": null}, "execution_time_ms": 47.675132751464844, "success": false, "error_message": "{\n \"success\": false,\n \"error\": {\n \"code\": \"VALIDATION_FAILED\",\n \"message\": \"Expression raised at runtime: KeyError: 'data'\",\n \"suggestion\": \"Verify referenced keys/indices exist in the input\",\n \"suggestions\": [\n \"Verify referenced keys/indices exist in the input\",\n \"Check that types match (e.g. dict vs list operations)\",\n \"Use .get(key, default) to handle missing keys\",\n \"Expression: for a in config['actions'][0]['choose'][0]['sequence']: \\n if a.get('action') == 'light.turn_on' a...\",\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_printer_running_playroom_light_basement_heat\"\n}", "response_size_bytes": null, "user_context": null}
|
||||
{"timestamp": "2026-08-27T14:27:50.167704+00:00", "tool_name": "ha_config_set_automation", "parameters": {"config": null, "identifier": "automation.3d_printer_running_playroom_light_basement_heat", "python_transform": "for a in config['actions'][0]['choose'][0]['sequence']: \n if a.get('action') == 'light.turn_on' and a.get('target', {}).get('entity_id') == 'light.bedroom_lamp_2':\n a.setdefault('data', {})['brightness_pct'] = 100", "config_hash": "d98f5b477b91ca56", "category": null, "wait": true, "MandatoryBPS": true, "BestPracticeKey": null}, "execution_time_ms": 368.9446449279785, "success": true, "error_message": null, "response_size_bytes": 59998, "user_context": null}
|
||||
{"timestamp": "2026-08-27T14:27:52.855645+00:00", "tool_name": "ha_config_get_automation", "parameters": {"identifier": "automation.3d_printer_running_playroom_light_basement_heat"}, "execution_time_ms": 110.49294471740723, "success": true, "error_message": null, "response_size_bytes": 1928, "user_context": null}
|
||||
{"timestamp": "2026-08-27T17:11:15.214838+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, "mode": null, "query": null}, "execution_time_ms": 4.691362380981445, "success": true, "error_message": null, "response_size_bytes": 1871, "user_context": null}
|
||||
{"timestamp": "2026-08-27T17:11:19.543664+00:00", "tool_name": "ha_config_get_dashboard", "parameters": {"url_path": "printer-stats", "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": 4.516124725341797, "success": true, "error_message": null, "response_size_bytes": 16944, "user_context": null}
|
||||
{"timestamp": "2026-08-27T17:11:19.651748+00:00", "tool_name": "ha_config_get_dashboard", "parameters": {"url_path": "ender5-printer", "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.210783004760742, "success": true, "error_message": null, "response_size_bytes": 14974, "user_context": null}
|
||||
|
||||
Reference in New Issue
Block a user