feat v1.1.0: vector floor plans (REMPLANNER SVG, auto-aligned scale/offset) + icon size proportional to plan width (icon_size = % of width, default 2.5)

This commit is contained in:
JB
2026-07-03 22:58:00 +03:00
parent 17f8e8164e
commit 7f9bbc1226
8 changed files with 158 additions and 157 deletions
+2 -2
View File
@@ -16,7 +16,7 @@ const SCHEMA = [
},
},
},
{ name: 'icon_size', selector: { number: { min: 14, max: 48, mode: 'box' } } },
{ name: 'icon_size', selector: { number: { min: 1, max: 6, step: 0.1, mode: 'box' } } },
{ name: 'show_temperature', selector: { boolean: {} } },
{ name: 'live_states', selector: { boolean: {} } },
];
@@ -24,7 +24,7 @@ const SCHEMA = [
const LABELS: Record<string, string> = {
title: 'Заголовок',
default_floor: 'Этаж по умолчанию',
icon_size: 'Размер иконок, px',
icon_size: 'Размер иконок, % ширины плана',
show_temperature: 'Показывать температуру',
live_states: 'Живые состояния (вкл/выкл, открыто…)',
};