.ha_mcp/logs/mcp_usage.jsonl

This commit is contained in:
Home Assistant Version Control
2026-10-16 20:09:13 +00:00
parent adb15e0ef7
commit 0ad43565e4
+2
View File
@@ -4754,3 +4754,5 @@
{"timestamp": "2026-10-16T20:06:58.198258+00:00", "tool_name": "ha_call_service", "parameters": {"domain": "shell_command", "service": "reload", "entity_id": null, "data": null, "return_response": false, "wait": true, "verbose": false, "result_fields": null, "result_attribute_keys": null, "ws_command": null}, "execution_time_ms": 99.41291809082031, "success": true, "error_message": null, "response_size_bytes": 175, "user_context": null}
{"timestamp": "2026-10-16T20:07:01.950724+00:00", "tool_name": "ha_call_service", "parameters": {"domain": "shell_command", "service": "grafana_colour_sync", "entity_id": null, "data": null, "return_response": false, "wait": true, "verbose": false, "result_fields": null, "result_attribute_keys": null, "ws_command": null}, "execution_time_ms": 1064.3441677093506, "success": true, "error_message": null, "response_size_bytes": 201, "user_context": null}
{"timestamp": "2026-10-16T20:07:39.844570+00:00", "tool_name": "ha_config_set_automation", "parameters": {"config": {"id": "grafana_colour_sync_5min", "alias": "Grafana colour sync (CFS Lite slots)", "description": "Keeps the four CFS Lite bar colours in the Grafana 'Filament - Spools & Forecast' dashboard in sync with the Spoolman location of each slot. HA renders the slot -> colour mapping and passes it to /config/colour-sync.py, which calls the Grafana API. Needs no Home Assistant API access.", "triggers": [{"trigger": "time_pattern", "minutes": "/5"}], "actions": [{"action": "shell_command.grafana_colour_sync"}], "mode": "single"}, "identifier": null, "python_transform": null, "config_hash": null, "take_control_of_blueprint": false, "category": null, "wait": true, "enabled": null, "run_actions": false, "MandatoryBPS": false, "BestPracticeKey": null}, "execution_time_ms": 0.14734268188476562, "success": false, "error_message": "{\n \"success\": false,\n \"error\": {\n \"code\": \"VALIDATION_FAILED\",\n \"message\": \"Config contains 'id' field ('grafana_colour_sync_5min') but no identifier was provided. This would create a duplicate automation instead of updating the existing one.\",\n \"details\": \"To update, pass identifier='grafana_colour_sync_5min' (or the automation's entity_id). To create a genuinely new automation, remove the 'id' field from the config.\",\n \"suggestion\": \"Check the parameter values and format against the tool documentation\",\n \"suggestions\": [\n \"Check the parameter values and format against the tool documentation\",\n \"Review the message and details fields for the specific constraint that failed\",\n \"For Home Assistant best-practice guidance, call ha_get_skill_guide() to read SKILL.md, then the reference file its table points to, before retrying.\"\n ]\n },\n \"parameter\": \"identifier\"\n}", "response_size_bytes": null, "user_context": null}
{"timestamp": "2026-10-16T20:09:07.034187+00:00", "tool_name": "ha_get_state", "parameters": {"entity_id": "automation.grafana_colour_sync_cfs_lite_slots", "fields": ["state", "last_triggered", "attributes"], "attribute_keys": ["id", "last_triggered", "mode", "current"]}, "execution_time_ms": 408.99109840393066, "success": false, "error_message": "{\n \"success\": false,\n \"error\": {\n \"code\": \"ENTITY_NOT_FOUND\",\n \"message\": \"Entity 'automation.grafana_colour_sync_cfs_lite_slots' not found\",\n \"details\": \"API error: 404 - Entity automation.grafana_colour_sync_cfs_lite_slots not found\",\n \"suggestion\": \"Verify entity 'automation.grafana_colour_sync_cfs_lite_slots' exists in Home Assistant\",\n \"suggestions\": [\n \"Verify entity 'automation.grafana_colour_sync_cfs_lite_slots' exists in Home Assistant\",\n \"Check Home Assistant connection\",\n \"Use ha_search() to find correct entity IDs\"\n ]\n },\n \"entity_id\": \"automation.grafana_colour_sync_cfs_lite_slots\"\n}", "response_size_bytes": null, "user_context": null}
{"timestamp": "2026-10-16T20:09:07.081435+00:00", "tool_name": "ha_get_automation_traces", "parameters": {"automation_id": "automation.grafana_colour_sync_cfs_lite_slots", "run_id": null, "limit": 5, "deduplicate": true, "detailed": false, "sections": null, "offset": 0, "order": "newest", "ctx": "Context(_STATE_TTL_SECONDS=86400)"}, "execution_time_ms": 392.7168846130371, "success": true, "error_message": null, "response_size_bytes": 518, "user_context": null}