.ha_mcp/logs/mcp_usage.jsonl, .storage/lovelace.dashboard_home

This commit is contained in:
Home Assistant Version Control
2026-08-31 15:50:14 +00:00
parent e96f407da8
commit 838721d77b
2 changed files with 13 additions and 0 deletions
+1
View File
@@ -3414,3 +3414,4 @@
{"timestamp": "2026-08-31T15:47:46.429590+00:00", "tool_name": "ha_config_get_dashboard", "parameters": {"url_path": "dashboard-home", "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": 6.539344787597656, "success": true, "error_message": null, "response_size_bytes": 18430, "user_context": null}
{"timestamp": "2026-08-31T15:47:53.501299+00:00", "tool_name": "ha_search", "parameters": {"query": "printer", "domain_filter": "sensor", "area_filter": null, "search_types": null, "limit": 10, "offset": 0, "exact_match": true, "include_hidden": true, "include_config": false, "group_by_domain": false, "per_domain_limit": null, "state_filter": null, "result_fields": null, "fields": null, "config_time_budget": null, "ctx": {"_STATE_TTL_SECONDS": 86400}}, "execution_time_ms": 101.21941566467285, "success": true, "error_message": null, "response_size_bytes": 2631, "user_context": null}
{"timestamp": "2026-08-31T15:48:45.537770+00:00", "tool_name": "ha_config_set_dashboard", "parameters": {"url_path": "dashboard-home", "config": null, "python_transform": "cards = config['views'][0]['sections'][1]['cards']; idx = next(i for i,c in enumerate(cards) if c.get('entity')=='sensor.filter_current_consumption'); cards.insert(idx+1, {\"type\":\"tile\",\"entity\":\"sensor.printer_power\",\"vertical\":False,\"features\":[{\"type\":\"trend-graph\"}],\"features_position\":\"bottom\"})", "config_hash": "9cb8751baebf7c79", "title": null, "icon": null, "require_admin": null, "show_in_sidebar": null, "MandatoryBPS": true, "BestPracticeKey": null, "return_screenshot": false, "view_path": null}, "execution_time_ms": 5.425691604614258, "success": false, "error_message": "{\n \"success\": false,\n \"error\": {\n \"code\": \"VALIDATION_FAILED\",\n \"message\": \"Expression raised at runtime: NameError: name 'next' is not defined\",\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: cards = config['views'][0]['sections'][1]['cards']; idx = next(i for i,c in enumerate(cards) if c.ge...\",\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\": \"dashboard-home\"\n}", "response_size_bytes": null, "user_context": null}
{"timestamp": "2026-08-31T15:49:20.421981+00:00", "tool_name": "ha_config_set_dashboard", "parameters": {"url_path": "dashboard-home", "config": null, "python_transform": "cards = config['views'][0]['sections'][1]['cards']; idx = -1; i = 0\nfor c in cards:\n if c.get('entity') == 'sensor.filter_current_consumption':\n idx = i\n break\n i += 1\ncards.insert(idx+1, {\"type\":\"tile\",\"entity\":\"sensor.printer_power\",\"vertical\":False,\"features\":[{\"type\":\"trend-graph\"}],\"features_position\":\"bottom\"})", "config_hash": "9cb8751baebf7c79", "title": null, "icon": null, "require_admin": null, "show_in_sidebar": null, "MandatoryBPS": true, "BestPracticeKey": null, "return_screenshot": false, "view_path": null}, "execution_time_ms": 118.62778663635254, "success": true, "error_message": null, "response_size_bytes": 30705, "user_context": null}
+12
View File
@@ -508,6 +508,18 @@
{
"type": "tile",
"entity": "sensor.filter_current_consumption",
"name": "Filter Power",
"vertical": false,
"features": [
{
"type": "trend-graph"
}
],
"features_position": "bottom"
},
{
"type": "tile",
"entity": "sensor.printer_power",
"vertical": false,
"features": [
{