.ha_mcp/logs/mcp_usage.jsonl, .storage/lovelace.dashboard_temp
This commit is contained in:
@@ -72,3 +72,4 @@
|
|||||||
{"timestamp": "2026-07-27T15:52:31.947548+00:00", "tool_name": "ha_config_get_dashboard", "parameters": {"url_path": "dashboard-temp", "list_only": false, "force_reload": true, "entity_id": null, "card_type": null, "heading": null, "include_config": false, "include_screenshot": false, "view_path": null, "mode": null, "query": null}, "execution_time_ms": 2.5110244750976562, "success": true, "error_message": null, "response_size_bytes": 9317, "user_context": null}
|
{"timestamp": "2026-07-27T15:52:31.947548+00:00", "tool_name": "ha_config_get_dashboard", "parameters": {"url_path": "dashboard-temp", "list_only": false, "force_reload": true, "entity_id": null, "card_type": null, "heading": null, "include_config": false, "include_screenshot": false, "view_path": null, "mode": null, "query": null}, "execution_time_ms": 2.5110244750976562, "success": true, "error_message": null, "response_size_bytes": 9317, "user_context": null}
|
||||||
{"timestamp": "2026-07-27T15:53:11.014353+00:00", "tool_name": "ha_config_set_dashboard", "parameters": {"url_path": "dashboard-temp", "config": null, "python_transform": "\n# Remove grid_options from System Resources (cards[2])\ndel config['views'][0]['sections'][1]['cards'][2]['grid_options']\n\n# Get the System Load card before removing it\nsystem_load_card = config['views'][0]['sections'][1]['cards'][3]\n\n# Remove System Load from grid level (cards[3])\ndel config['views'][0]['sections'][1]['cards'][3]\n\n# After removing cards[3], the vertical-stack is now at index 4 (was 5)\n# Insert System Load back into the vertical-stack at position 1 (after entities, before Network Traffic)\nconfig['views'][0]['sections'][1]['cards'][4]['cards'].insert(1, system_load_card)\n", "config_hash": "5d56f96405a28b22", "title": null, "icon": null, "require_admin": null, "show_in_sidebar": null, "MandatoryBPS": false, "BestPracticeKey": null, "return_screenshot": false, "view_path": null}, "execution_time_ms": 10.657548904418945, "success": true, "error_message": null, "response_size_bytes": 1449, "user_context": null}
|
{"timestamp": "2026-07-27T15:53:11.014353+00:00", "tool_name": "ha_config_set_dashboard", "parameters": {"url_path": "dashboard-temp", "config": null, "python_transform": "\n# Remove grid_options from System Resources (cards[2])\ndel config['views'][0]['sections'][1]['cards'][2]['grid_options']\n\n# Get the System Load card before removing it\nsystem_load_card = config['views'][0]['sections'][1]['cards'][3]\n\n# Remove System Load from grid level (cards[3])\ndel config['views'][0]['sections'][1]['cards'][3]\n\n# After removing cards[3], the vertical-stack is now at index 4 (was 5)\n# Insert System Load back into the vertical-stack at position 1 (after entities, before Network Traffic)\nconfig['views'][0]['sections'][1]['cards'][4]['cards'].insert(1, system_load_card)\n", "config_hash": "5d56f96405a28b22", "title": null, "icon": null, "require_admin": null, "show_in_sidebar": null, "MandatoryBPS": false, "BestPracticeKey": null, "return_screenshot": false, "view_path": null}, "execution_time_ms": 10.657548904418945, "success": true, "error_message": null, "response_size_bytes": 1449, "user_context": null}
|
||||||
{"timestamp": "2026-07-27T15:54:34.138236+00:00", "tool_name": "ha_config_get_dashboard", "parameters": {"url_path": "dashboard-temp", "list_only": false, "force_reload": true, "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.537914276123047, "success": true, "error_message": null, "response_size_bytes": 9269, "user_context": null}
|
{"timestamp": "2026-07-27T15:54:34.138236+00:00", "tool_name": "ha_config_get_dashboard", "parameters": {"url_path": "dashboard-temp", "list_only": false, "force_reload": true, "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.537914276123047, "success": true, "error_message": null, "response_size_bytes": 9269, "user_context": null}
|
||||||
|
{"timestamp": "2026-07-27T15:54:44.741333+00:00", "tool_name": "ha_config_set_dashboard", "parameters": {"url_path": "dashboard-temp", "config": null, "python_transform": "\n# Get the System Load card from vertical-stack (index 1)\nsystem_load_card = config['views'][0]['sections'][1]['cards'][4]['cards'][1]\n\n# Remove grid_options from it (it'll be at grid level now)\nif 'grid_options' in system_load_card:\n del system_load_card['grid_options']\n\n# Remove it from the vertical-stack\ndel config['views'][0]['sections'][1]['cards'][4]['cards'][1]\n\n# Insert it at position 3 in the grid level (after System Resources)\nconfig['views'][0]['sections'][1]['cards'].insert(3, system_load_card)\n", "config_hash": "5cf5ab90a4722339", "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.193731307983398, "success": true, "error_message": null, "response_size_bytes": 1370, "user_context": null}
|
||||||
|
|||||||
@@ -211,6 +211,16 @@
|
|||||||
],
|
],
|
||||||
"hours_to_show": 24
|
"hours_to_show": 24
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"type": "history-graph",
|
||||||
|
"title": "System Load",
|
||||||
|
"hours_to_show": 24,
|
||||||
|
"entities": [
|
||||||
|
"sensor.system_monitor_load_1_min",
|
||||||
|
"sensor.system_monitor_load_5_min",
|
||||||
|
"sensor.system_monitor_load_15_min"
|
||||||
|
]
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"type": "heading",
|
"type": "heading",
|
||||||
"heading": "System Health",
|
"heading": "System Health",
|
||||||
@@ -260,20 +270,6 @@
|
|||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"type": "history-graph",
|
|
||||||
"title": "System Load",
|
|
||||||
"hours_to_show": 24,
|
|
||||||
"entities": [
|
|
||||||
"sensor.system_monitor_load_1_min",
|
|
||||||
"sensor.system_monitor_load_5_min",
|
|
||||||
"sensor.system_monitor_load_15_min"
|
|
||||||
],
|
|
||||||
"grid_options": {
|
|
||||||
"columns": "full",
|
|
||||||
"rows": 2
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"type": "history-graph",
|
"type": "history-graph",
|
||||||
"entities": [
|
"entities": [
|
||||||
|
|||||||
Reference in New Issue
Block a user