templates.json: tpl_3 теперь 4 камеры + temp_chart-узкий
Было: tpl_3 = main + 2 preview + temp_chart (rs=4) + ha_chat. При 4 active композитор выбирал tpl_3 (waste=1 vs tpl_4 waste=0 — wait, tpl_3 имел 3 cam cells, при 4 active брал tpl_4=quad без виджетов). Стало: tpl_3 = main + 3 preview + temp_chart (rs=2, низ-право) + ha_chat. 4 cam cells, при 4 active best-fit выбирает tpl_3 (waste=0, раньше в registry чем tpl_4 → tie-breaker за tpl_3). Виджеты остаются видимыми. Geometry validated: 36+4+4+4+4+12=64 микроячеек, no overlaps. Hot-reloaded via reload_templates ZMQ в проде. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
@@ -14,12 +14,13 @@
|
||||
},
|
||||
{
|
||||
"name": "tpl_3",
|
||||
"_desc": "Главная 1440×810 + 2 превью 480×270 + widget справа-низ + widget снизу.",
|
||||
"_desc": "Главная 1440×810 + 3 превью 480×270 + temp_chart 480×270 (низ-право) + ha_chat снизу.",
|
||||
"cells": [
|
||||
{"col": 0, "row": 0, "cs": 6, "rs": 6, "role": "camera", "order": 0},
|
||||
{"col": 6, "row": 0, "cs": 2, "rs": 2, "role": "camera", "order": 1},
|
||||
{"col": 6, "row": 2, "cs": 2, "rs": 2, "role": "camera", "order": 2},
|
||||
{"col": 6, "row": 4, "cs": 2, "rs": 4, "role": "widget", "widget": "temp_chart"},
|
||||
{"col": 6, "row": 4, "cs": 2, "rs": 2, "role": "camera", "order": 3},
|
||||
{"col": 6, "row": 6, "cs": 2, "rs": 2, "role": "widget", "widget": "temp_chart"},
|
||||
{"col": 0, "row": 6, "cs": 6, "rs": 2, "role": "widget", "widget": "ha_chat"}
|
||||
]
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user