From e54d55371cb2239c9e3afb9a8e0a6a92693de380 Mon Sep 17 00:00:00 2001 From: Evgeny Demchenko Date: Sun, 7 Jun 2026 19:17:56 +0100 Subject: [PATCH] =?UTF-8?q?templates.json:=20tpl=5F3=20=D1=82=D0=B5=D0=BF?= =?UTF-8?q?=D0=B5=D1=80=D1=8C=204=20=D0=BA=D0=B0=D0=BC=D0=B5=D1=80=D1=8B?= =?UTF-8?q?=20+=20temp=5Fchart-=D1=83=D0=B7=D0=BA=D0=B8=D0=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Было: 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 --- docker/templates.json | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/docker/templates.json b/docker/templates.json index e643eed..87a40fb 100644 --- a/docker/templates.json +++ b/docker/templates.json @@ -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"} ] },