.ha_mcp/logs/mcp_usage.jsonl
This commit is contained in:
@@ -868,3 +868,5 @@
|
|||||||
{"timestamp": "2026-08-07T16:02:38.844913+00:00", "tool_name": "ha_config_set_dashboard", "parameters": {"url_path": "printer-stats", "config": null, "python_transform": "assert config['views'][0]['sections'][1]['cards'][6].get('entity') == 'sensor.octoprint_approximate_total_print_time'; del config['views'][0]['sections'][1]['cards'][6]", "config_hash": "d1daab8447c64fec", "title": null, "icon": null, "require_admin": null, "show_in_sidebar": null, "MandatoryBPS": true, "BestPracticeKey": null, "return_screenshot": false, "view_path": null}, "execution_time_ms": 15.743255615234375, "success": false, "error_message": "{\n \"success\": false,\n \"error\": {\n \"code\": \"VALIDATION_FAILED\",\n \"message\": \"Expression validation failed: Forbidden node type: Assert\",\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: assert config['views'][0]['sections'][1]['cards'][6].get('entity') == 'sensor.octoprint_approximate_...\",\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\": \"printer-stats\"\n}", "response_size_bytes": null, "user_context": null}
|
{"timestamp": "2026-08-07T16:02:38.844913+00:00", "tool_name": "ha_config_set_dashboard", "parameters": {"url_path": "printer-stats", "config": null, "python_transform": "assert config['views'][0]['sections'][1]['cards'][6].get('entity') == 'sensor.octoprint_approximate_total_print_time'; del config['views'][0]['sections'][1]['cards'][6]", "config_hash": "d1daab8447c64fec", "title": null, "icon": null, "require_admin": null, "show_in_sidebar": null, "MandatoryBPS": true, "BestPracticeKey": null, "return_screenshot": false, "view_path": null}, "execution_time_ms": 15.743255615234375, "success": false, "error_message": "{\n \"success\": false,\n \"error\": {\n \"code\": \"VALIDATION_FAILED\",\n \"message\": \"Expression validation failed: Forbidden node type: Assert\",\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: assert config['views'][0]['sections'][1]['cards'][6].get('entity') == 'sensor.octoprint_approximate_...\",\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\": \"printer-stats\"\n}", "response_size_bytes": null, "user_context": null}
|
||||||
{"timestamp": "2026-08-07T16:02:47.158307+00:00", "tool_name": "ha_config_set_dashboard", "parameters": {"url_path": "printer-stats", "config": null, "python_transform": "config['views'][0]['sections'][1]['cards'] = [c for c in config['views'][0]['sections'][1]['cards'] if c.get('entity') != 'sensor.octoprint_approximate_total_print_time']", "config_hash": "d1daab8447c64fec", "title": null, "icon": null, "require_admin": null, "show_in_sidebar": null, "MandatoryBPS": true, "BestPracticeKey": null, "return_screenshot": false, "view_path": null}, "execution_time_ms": 12.241840362548828, "success": true, "error_message": null, "response_size_bytes": 30238, "user_context": null}
|
{"timestamp": "2026-08-07T16:02:47.158307+00:00", "tool_name": "ha_config_set_dashboard", "parameters": {"url_path": "printer-stats", "config": null, "python_transform": "config['views'][0]['sections'][1]['cards'] = [c for c in config['views'][0]['sections'][1]['cards'] if c.get('entity') != 'sensor.octoprint_approximate_total_print_time']", "config_hash": "d1daab8447c64fec", "title": null, "icon": null, "require_admin": null, "show_in_sidebar": null, "MandatoryBPS": true, "BestPracticeKey": null, "return_screenshot": false, "view_path": null}, "execution_time_ms": 12.241840362548828, "success": true, "error_message": null, "response_size_bytes": 30238, "user_context": null}
|
||||||
{"timestamp": "2026-08-07T16:03:22.442903+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": "print", "mode": null, "query": null}, "execution_time_ms": 4.470348358154297, "success": true, "error_message": null, "response_size_bytes": 5996, "user_context": null}
|
{"timestamp": "2026-08-07T16:03:22.442903+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": "print", "mode": null, "query": null}, "execution_time_ms": 4.470348358154297, "success": true, "error_message": null, "response_size_bytes": 5996, "user_context": null}
|
||||||
|
{"timestamp": "2026-08-07T16:04:50.694725+00:00", "tool_name": "ha_get_state", "parameters": {"entity_id": ["sensor.octoprint_approximate_completion_time", "sensor.octoprint_time_left", "sensor.octoprint_elapsed"], "fields": ["state", "attributes"], "attribute_keys": ["unit_of_measurement", "friendly_name"]}, "execution_time_ms": 18.63694190979004, "success": true, "error_message": null, "response_size_bytes": 821, "user_context": null}
|
||||||
|
{"timestamp": "2026-08-07T16:04:51.160043+00:00", "tool_name": "ha_eval_template", "parameters": {"template": "{% set finish = as_local(states('sensor.octoprint_approximate_completion_time') | as_datetime) %}\n{% set s = states('sensor.octoprint_time_left') | int(0) %}\nRemaining: {{ (s // 3600) }}h {{ ((s % 3600) // 60) }}m\nFinish: {{ finish.strftime('%-I:%M %p') if finish else 'n/a' }}", "timeout": 3, "report_errors": true}, "execution_time_ms": 9.369850158691406, "success": true, "error_message": null, "response_size_bytes": 404, "user_context": null}
|
||||||
|
|||||||
Reference in New Issue
Block a user