This commit is contained in:
Mateusz Gruszczyński
2026-09-01 22:20:10 +02:00
parent 1cb62c8d0b
commit 16e0d94564
47 changed files with 2565 additions and 117 deletions
+2
View File
@@ -8,6 +8,7 @@ function renderAll() {
renderZones();
renderSchedules();
renderAutomations();
renderFlows();
renderAccessTokens();
fillSelects();
renderSettings();
@@ -65,6 +66,7 @@ function planEventMarkup(event) {
function automationTriggerLabel(item) {
if (item.trigger_kind === 'time') return tr('automations.triggerAt', { time: item.at_time || '—' });
if (item.trigger_kind === 'flow') return tr('flow.generated');
const key = item.trigger_kind === 'temperature_above' ? 'automations.triggerAbove' : 'automations.triggerBelow';
return tr(key, { temperature: fmtTemp(item.threshold) });
}