@if (edge) { @if (navigationService.position() !== null && navigationService.position() !== "disabled") { } @else { {{ "EDGE.INDEX.ENERGYMONITOR.TITLE" | translate }} @for (widget of widgets.list; track i; let i = $index) { @switch (widget.name) { @case ("System.Fenecon.Industrial.S") { } @case ("System.Fenecon.Industrial.M") { } @case ("System.Fenecon.Industrial.L") { } @case ("System.Fenecon.Industrial.Xl") { } @case ("Weather.OpenMeteo") { } } } @let widgetColumnSize = isTablet ? "12" : "6"; @let outerColumnSize = isTablet ? "6" : "6"; @for (clazz of widgets.classes; track clazz) { @switch (clazz) { @case ("Common_Autarchy") { } @case ("Common_Selfconsumption") { } @case ("Storage") { } @case ("Grid") { } @case ("Common_Production") { } @case ("Consumption") { } } } @if (advertWidgets?.length > 0) { } } @if (edge.isOnline && !edge.subscribeChannelsSuccessful) { } @if (!edge.isOnline) { } }