.ha_mcp/logs/mcp_usage.jsonl
This commit is contained in:
@@ -2685,3 +2685,9 @@
|
||||
{"timestamp": "2026-08-26T16:04:39.682861+00:00", "tool_name": "ha_config_get_dashboard", "parameters": {"url_path": "in-meeting", "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": 1.5804767608642578, "success": true, "error_message": null, "response_size_bytes": 2638, "user_context": null}
|
||||
{"timestamp": "2026-08-26T16:04:58.677914+00:00", "tool_name": "ha_config_set_dashboard", "parameters": {"url_path": "in-meeting", "config": null, "python_transform": "config['views'][0]['cards'][1]['cards'][1]['cards'][1]['entity'] = 'light.night_light'; config['views'][0]['cards'][1]['cards'][1]['cards'][2]['entities'][0]['entity'] = 'binary_sensor.night_light_occupancy'", "config_hash": "6223bb408453027d", "title": null, "icon": null, "require_admin": null, "show_in_sidebar": null, "MandatoryBPS": false, "BestPracticeKey": null, "return_screenshot": false, "view_path": null}, "execution_time_ms": 1.5592575073242188, "success": false, "error_message": "{\n \"success\": false,\n \"error\": {\n \"code\": \"VALIDATION_FAILED\",\n \"message\": \"Expression raised at runtime: IndexError: list index out of range\",\n \"suggestion\": \"Call ha_config_get_dashboard with card_type=..., entity_id=..., or heading=... to get the verified python_path for the target card, then build python_transform from that path\",\n \"suggestions\": [\n \"Call ha_config_get_dashboard with card_type=..., entity_id=..., or heading=... to get the verified python_path for the target card, then build python_transform from that path\",\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: config['views'][0]['cards'][1]['cards'][1]['cards'][1]['entity'] = 'light.night_light'; config['view...\",\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\": \"in-meeting\"\n}", "response_size_bytes": null, "user_context": null}
|
||||
{"timestamp": "2026-08-26T16:05:08.890498+00:00", "tool_name": "ha_config_set_dashboard", "parameters": {"url_path": "in-meeting", "config": null, "python_transform": "config['views'][0]['cards'][0]['cards'][1]['cards'][1]['cards'][1]['entity'] = 'light.night_light'; config['views'][0]['cards'][0]['cards'][1]['cards'][1]['cards'][2]['entities'][0]['entity'] = 'binary_sensor.night_light_occupancy'", "config_hash": "6223bb408453027d", "title": null, "icon": null, "require_admin": null, "show_in_sidebar": null, "MandatoryBPS": false, "BestPracticeKey": null, "return_screenshot": false, "view_path": null}, "execution_time_ms": 8.741617202758789, "success": true, "error_message": null, "response_size_bytes": 643, "user_context": null}
|
||||
{"timestamp": "2026-08-26T16:06:07.520599+00:00", "tool_name": "ha_get_entity", "parameters": {"entity_id": null, "unique_id": "e68b28d535ef4ca4adacd1a94457a12c", "domain": null, "platform": null}, "execution_time_ms": 283.81824493408203, "success": false, "error_message": "{\n \"success\": false,\n \"error\": {\n \"code\": \"ENTITY_NOT_FOUND\",\n \"message\": \"No entity found with unique_id 'e68b28d535ef4ca4adacd1a94457a12c'\",\n \"suggestion\": \"unique_id must match exactly \\u2014 it is the integration's internal id, not the entity_id\",\n \"suggestions\": [\n \"unique_id must match exactly \\u2014 it is the integration's internal id, not the entity_id\",\n \"Drop the domain/platform filters if you set them\",\n \"Use ha_search() to browse entities and their platforms\"\n ]\n },\n \"unique_id\": \"e68b28d535ef4ca4adacd1a94457a12c\"\n}", "response_size_bytes": null, "user_context": null}
|
||||
{"timestamp": "2026-08-26T16:06:07.875365+00:00", "tool_name": "ha_get_entity", "parameters": {"entity_id": null, "unique_id": "c7289314a586fc3739316abfeee0cdf5", "domain": null, "platform": null}, "execution_time_ms": 284.56807136535645, "success": false, "error_message": "{\n \"success\": false,\n \"error\": {\n \"code\": \"ENTITY_NOT_FOUND\",\n \"message\": \"No entity found with unique_id 'c7289314a586fc3739316abfeee0cdf5'\",\n \"suggestion\": \"unique_id must match exactly \\u2014 it is the integration's internal id, not the entity_id\",\n \"suggestions\": [\n \"unique_id must match exactly \\u2014 it is the integration's internal id, not the entity_id\",\n \"Drop the domain/platform filters if you set them\",\n \"Use ha_search() to browse entities and their platforms\"\n ]\n },\n \"unique_id\": \"c7289314a586fc3739316abfeee0cdf5\"\n}", "response_size_bytes": null, "user_context": null}
|
||||
{"timestamp": "2026-08-26T16:06:08.382727+00:00", "tool_name": "ha_get_entity", "parameters": {"entity_id": null, "unique_id": "0c00a80e3106a9d7089f44c4781e0187", "domain": null, "platform": null}, "execution_time_ms": 183.64596366882324, "success": false, "error_message": "{\n \"success\": false,\n \"error\": {\n \"code\": \"ENTITY_NOT_FOUND\",\n \"message\": \"No entity found with unique_id '0c00a80e3106a9d7089f44c4781e0187'\",\n \"suggestion\": \"unique_id must match exactly \\u2014 it is the integration's internal id, not the entity_id\",\n \"suggestions\": [\n \"unique_id must match exactly \\u2014 it is the integration's internal id, not the entity_id\",\n \"Drop the domain/platform filters if you set them\",\n \"Use ha_search() to browse entities and their platforms\"\n ]\n },\n \"unique_id\": \"0c00a80e3106a9d7089f44c4781e0187\"\n}", "response_size_bytes": null, "user_context": null}
|
||||
{"timestamp": "2026-08-26T16:06:08.994847+00:00", "tool_name": "ha_get_entity", "parameters": {"entity_id": null, "unique_id": "2101b0e6d9ae7b4b2e1cb727a9ed42f0", "domain": null, "platform": null}, "execution_time_ms": 245.69964408874512, "success": false, "error_message": "{\n \"success\": false,\n \"error\": {\n \"code\": \"ENTITY_NOT_FOUND\",\n \"message\": \"No entity found with unique_id '2101b0e6d9ae7b4b2e1cb727a9ed42f0'\",\n \"suggestion\": \"unique_id must match exactly \\u2014 it is the integration's internal id, not the entity_id\",\n \"suggestions\": [\n \"unique_id must match exactly \\u2014 it is the integration's internal id, not the entity_id\",\n \"Drop the domain/platform filters if you set them\",\n \"Use ha_search() to browse entities and their platforms\"\n ]\n },\n \"unique_id\": \"2101b0e6d9ae7b4b2e1cb727a9ed42f0\"\n}", "response_size_bytes": null, "user_context": null}
|
||||
{"timestamp": "2026-08-26T16:06:09.908050+00:00", "tool_name": "ha_get_entity", "parameters": {"entity_id": null, "unique_id": "eb34748c324b33255fb839f867f7a5d9", "domain": null, "platform": null}, "execution_time_ms": 363.3458614349365, "success": false, "error_message": "{\n \"success\": false,\n \"error\": {\n \"code\": \"ENTITY_NOT_FOUND\",\n \"message\": \"No entity found with unique_id 'eb34748c324b33255fb839f867f7a5d9'\",\n \"suggestion\": \"unique_id must match exactly \\u2014 it is the integration's internal id, not the entity_id\",\n \"suggestions\": [\n \"unique_id must match exactly \\u2014 it is the integration's internal id, not the entity_id\",\n \"Drop the domain/platform filters if you set them\",\n \"Use ha_search() to browse entities and their platforms\"\n ]\n },\n \"unique_id\": \"eb34748c324b33255fb839f867f7a5d9\"\n}", "response_size_bytes": null, "user_context": null}
|
||||
{"timestamp": "2026-08-26T16:06:10.124610+00:00", "tool_name": "ha_get_entity", "parameters": {"entity_id": null, "unique_id": "c9c7e25e54eb6ac497a6791fe9cf70fe", "domain": null, "platform": null}, "execution_time_ms": 200.95276832580566, "success": false, "error_message": "{\n \"success\": false,\n \"error\": {\n \"code\": \"ENTITY_NOT_FOUND\",\n \"message\": \"No entity found with unique_id 'c9c7e25e54eb6ac497a6791fe9cf70fe'\",\n \"suggestion\": \"unique_id must match exactly \\u2014 it is the integration's internal id, not the entity_id\",\n \"suggestions\": [\n \"unique_id must match exactly \\u2014 it is the integration's internal id, not the entity_id\",\n \"Drop the domain/platform filters if you set them\",\n \"Use ha_search() to browse entities and their platforms\"\n ]\n },\n \"unique_id\": \"c9c7e25e54eb6ac497a6791fe9cf70fe\"\n}", "response_size_bytes": null, "user_context": null}
|
||||
|
||||
Reference in New Issue
Block a user