This commit is contained in:
Home Assistant Version Control
2026-08-26 06:04:47 +00:00
parent 83b4bf94a1
commit d928bfcaf9
3 changed files with 4 additions and 2 deletions
+2
View File
@@ -2415,3 +2415,5 @@
{"timestamp": "2026-08-26T06:03:30.392378+00:00", "tool_name": "ha_config_set_dashboard", "parameters": {"url_path": "printer-stats", "config": null, "python_transform": "\ncam1 = config[\"views\"][0][\"sections\"][0][\"cards\"][1]\ncam2 = {\n \"type\": \"custom:webrtc-camera\",\n \"url\": \"https://endercamera2.duckdns.org/?action=stream\",\n \"mode\": \"mse\",\n \"grid_options\": {\"columns\": \"half\"}\n}\ncam1[\"grid_options\"] = {\"columns\": \"half\"}\nconfig[\"views\"][0][\"sections\"][0][\"cards\"].insert(2, cam2)\n", "config_hash": "695f4e12fae6b2d5", "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.142326354980469, "success": true, "error_message": null, "response_size_bytes": 919, "user_context": null} {"timestamp": "2026-08-26T06:03:30.392378+00:00", "tool_name": "ha_config_set_dashboard", "parameters": {"url_path": "printer-stats", "config": null, "python_transform": "\ncam1 = config[\"views\"][0][\"sections\"][0][\"cards\"][1]\ncam2 = {\n \"type\": \"custom:webrtc-camera\",\n \"url\": \"https://endercamera2.duckdns.org/?action=stream\",\n \"mode\": \"mse\",\n \"grid_options\": {\"columns\": \"half\"}\n}\ncam1[\"grid_options\"] = {\"columns\": \"half\"}\nconfig[\"views\"][0][\"sections\"][0][\"cards\"].insert(2, cam2)\n", "config_hash": "695f4e12fae6b2d5", "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.142326354980469, "success": true, "error_message": null, "response_size_bytes": 919, "user_context": null}
{"timestamp": "2026-08-26T06:03:32.158433+00:00", "tool_name": "ha_config_set_dashboard", "parameters": {"url_path": "ender5-printer", "config": null, "python_transform": "\nnew_cam_stack = {\n \"type\": \"vertical-stack\",\n \"cards\": [\n {\n \"type\": \"custom:webrtc-camera\",\n \"url\": \"https://endercamera2.duckdns.org/?action=stream\",\n \"mode\": \"mse\",\n \"style\": \"border-radius: 12px 12px 0 0; overflow: hidden;\"\n },\n {\n \"type\": \"custom:mushroom-light-card\",\n \"entity\": \"light.3d_printer_lights\",\n \"name\": \"Lamp\",\n \"icon\": \"mdi:lightbulb\",\n \"show_brightness_control\": True,\n \"layout\": \"horizontal\"\n }\n ]\n}\nconfig[\"views\"][0][\"sections\"][0][\"cards\"].insert(5, new_cam_stack)\n", "config_hash": "5103427cf5b794dc", "title": null, "icon": null, "require_admin": null, "show_in_sidebar": null, "MandatoryBPS": false, "BestPracticeKey": null, "return_screenshot": false, "view_path": null}, "execution_time_ms": 22.165536880493164, "success": true, "error_message": null, "response_size_bytes": 1095, "user_context": null} {"timestamp": "2026-08-26T06:03:32.158433+00:00", "tool_name": "ha_config_set_dashboard", "parameters": {"url_path": "ender5-printer", "config": null, "python_transform": "\nnew_cam_stack = {\n \"type\": \"vertical-stack\",\n \"cards\": [\n {\n \"type\": \"custom:webrtc-camera\",\n \"url\": \"https://endercamera2.duckdns.org/?action=stream\",\n \"mode\": \"mse\",\n \"style\": \"border-radius: 12px 12px 0 0; overflow: hidden;\"\n },\n {\n \"type\": \"custom:mushroom-light-card\",\n \"entity\": \"light.3d_printer_lights\",\n \"name\": \"Lamp\",\n \"icon\": \"mdi:lightbulb\",\n \"show_brightness_control\": True,\n \"layout\": \"horizontal\"\n }\n ]\n}\nconfig[\"views\"][0][\"sections\"][0][\"cards\"].insert(5, new_cam_stack)\n", "config_hash": "5103427cf5b794dc", "title": null, "icon": null, "require_admin": null, "show_in_sidebar": null, "MandatoryBPS": false, "BestPracticeKey": null, "return_screenshot": false, "view_path": null}, "execution_time_ms": 22.165536880493164, "success": true, "error_message": null, "response_size_bytes": 1095, "user_context": null}
{"timestamp": "2026-08-26T06:04:07.470785+00:00", "tool_name": "ha_config_set_dashboard", "parameters": {"url_path": "printer-stats", "config": null, "python_transform": "\nconfig[\"views\"][0][\"sections\"][0][\"cards\"][1][\"grid_options\"] = {\"columns\": \"full\"}\nconfig[\"views\"][0][\"sections\"][0][\"cards\"][2][\"grid_options\"] = {\"columns\": \"full\"}\n", "config_hash": "fb5c79efa2250c72", "title": null, "icon": null, "require_admin": null, "show_in_sidebar": null, "MandatoryBPS": false, "BestPracticeKey": null, "return_screenshot": false, "view_path": null}, "execution_time_ms": 13.88859748840332, "success": true, "error_message": null, "response_size_bytes": 757, "user_context": null} {"timestamp": "2026-08-26T06:04:07.470785+00:00", "tool_name": "ha_config_set_dashboard", "parameters": {"url_path": "printer-stats", "config": null, "python_transform": "\nconfig[\"views\"][0][\"sections\"][0][\"cards\"][1][\"grid_options\"] = {\"columns\": \"full\"}\nconfig[\"views\"][0][\"sections\"][0][\"cards\"][2][\"grid_options\"] = {\"columns\": \"full\"}\n", "config_hash": "fb5c79efa2250c72", "title": null, "icon": null, "require_admin": null, "show_in_sidebar": null, "MandatoryBPS": false, "BestPracticeKey": null, "return_screenshot": false, "view_path": null}, "execution_time_ms": 13.88859748840332, "success": true, "error_message": null, "response_size_bytes": 757, "user_context": null}
{"timestamp": "2026-08-26T06:04:41.186068+00:00", "tool_name": "ha_config_set_dashboard", "parameters": {"url_path": "printer-stats", "config": null, "python_transform": "\nconfig[\"views\"][0][\"sections\"][0][\"cards\"][2][\"mode\"] = \"hls\"\n", "config_hash": "eb1585463ab80901", "title": null, "icon": null, "require_admin": null, "show_in_sidebar": null, "MandatoryBPS": false, "BestPracticeKey": null, "return_screenshot": false, "view_path": null}, "execution_time_ms": 14.594316482543945, "success": true, "error_message": null, "response_size_bytes": 650, "user_context": null}
{"timestamp": "2026-08-26T06:04:43.233442+00:00", "tool_name": "ha_config_set_dashboard", "parameters": {"url_path": "ender5-printer", "config": null, "python_transform": "\nconfig[\"views\"][0][\"sections\"][0][\"cards\"][5][\"cards\"][0][\"mode\"] = \"hls\"\n", "config_hash": "34d4cf850feb8a21", "title": null, "icon": null, "require_admin": null, "show_in_sidebar": null, "MandatoryBPS": false, "BestPracticeKey": null, "return_screenshot": false, "view_path": null}, "execution_time_ms": 29.16860580444336, "success": true, "error_message": null, "response_size_bytes": 514, "user_context": null}
+1 -1
View File
@@ -466,7 +466,7 @@
{ {
"type": "custom:webrtc-camera", "type": "custom:webrtc-camera",
"url": "https://endercamera2.duckdns.org/?action=stream", "url": "https://endercamera2.duckdns.org/?action=stream",
"mode": "mse", "mode": "hls",
"style": "border-radius: 12px 12px 0 0; overflow: hidden;" "style": "border-radius: 12px 12px 0 0; overflow: hidden;"
}, },
{ {
+1 -1
View File
@@ -30,7 +30,7 @@
{ {
"type": "custom:webrtc-camera", "type": "custom:webrtc-camera",
"url": "https://endercamera2.duckdns.org/?action=stream", "url": "https://endercamera2.duckdns.org/?action=stream",
"mode": "mse", "mode": "hls",
"grid_options": { "grid_options": {
"columns": "full" "columns": "full"
} }