{{ component.alias }} @if (edge.currentData | async; as currentData) {
GENERAL.MODE
@if (component) { {{ "GENERAL.ON" | translate }} {{ "GENERAL.AUTOMATIC" | translate }} {{ "GENERAL.OFF" | translate }} }
@if (component.properties["mode"] === "AUTOMATIC" && edge.roleIsAtLeast("owner")) {
GENERAL.SOC {{ currentData.channel[inputChannel] | unitvalue: "%" }}
EDGE.INDEX.WIDGETS.CHP.HIGH_THRESHOLD {{ component.properties["highThreshold"] | unitvalue: "%" }}
EDGE.INDEX.WIDGETS.CHP.LOW_THRESHOLD {{ component.properties["lowThreshold"] | unitvalue: "%" }}
{{ 0 | unitvalue: "%" }} {{ 100 | unitvalue: "%" }}
}
GENERAL.STATE @switch (currentData.channel[outputChannel]) { @case (1) { GENERAL.ACTIVE } @case (0) { GENERAL.INACTIVE } @default { } }
}