This is a commit to test webhooks in Discord
This commit is contained in:
parent
6875163111
commit
f513c82016
@ -2,10 +2,13 @@
|
|||||||
<div style="max-width: 1000px;">
|
<div style="max-width: 1000px;">
|
||||||
<h1>Powerwall: {{batteryService.charge | round}} V</h1>
|
<h1>Powerwall: {{batteryService.charge | round}} V</h1>
|
||||||
<div class="d-flex align-content-center">
|
<div class="d-flex align-content-center">
|
||||||
<div *ngIf="locked" class="mr-1"><mat-icon>lock</mat-icon></div>
|
<div *ngIf="locked" class="mr-1">
|
||||||
|
<mat-icon>lock</mat-icon>
|
||||||
|
</div>
|
||||||
<div><h5>Cooling Fans</h5></div>
|
<div><h5>Cooling Fans</h5></div>
|
||||||
</div>
|
</div>
|
||||||
<mat-button-toggle-group class="mb-3" [ngModel]="batteryService.relayMode" (change)="batteryService.setRelayMode($event.value)" [disabled]="locked">
|
<mat-button-toggle-group class="mb-3" [ngModel]="batteryService.relayMode"
|
||||||
|
(change)="batteryService.setRelayMode($event.value)" [disabled]="locked">
|
||||||
<mat-button-toggle value="null">Auto</mat-button-toggle>
|
<mat-button-toggle value="null">Auto</mat-button-toggle>
|
||||||
<mat-button-toggle value="true">On</mat-button-toggle>
|
<mat-button-toggle value="true">On</mat-button-toggle>
|
||||||
<mat-button-toggle value="false">Off</mat-button-toggle>
|
<mat-button-toggle value="false">Off</mat-button-toggle>
|
||||||
@ -16,10 +19,15 @@
|
|||||||
<h5 class="mb-0">{{battery.name}}</h5>
|
<h5 class="mb-0">{{battery.name}}</h5>
|
||||||
</div>
|
</div>
|
||||||
<div class="d-flex flex-grow-1 align-items-center justify-content-center">
|
<div class="d-flex flex-grow-1 align-items-center justify-content-center">
|
||||||
<button mat-button (click)="selected = i" [ngClass]="{'text-success': batteryService.charging, 'text-danger': !batteryService.charging}">{{battery.charge | round: 1}} V</button>
|
<button mat-button (click)="selected = i"
|
||||||
|
[ngClass]="{'text-success': batteryService.charging, 'text-danger': !batteryService.charging}">{{battery.charge | round: 1}}
|
||||||
|
V
|
||||||
|
</button>
|
||||||
</div>
|
</div>
|
||||||
<div class="d-flex flex-grow-1 align-items-center justify-content-end text-muted">
|
<div class="d-flex flex-grow-1 align-items-center justify-content-end text-muted">
|
||||||
<button mat-button (click)="selected = batteryService.batteries.length + i">{{battery.temp | round}} °C</button>
|
<button mat-button (click)="selected = batteryService.batteries.length + i">{{battery.temp | round}}
|
||||||
|
°C
|
||||||
|
</button>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div *ngIf="selected == i" class="w-100" style="height: 200px">
|
<div *ngIf="selected == i" class="w-100" style="height: 200px">
|
||||||
|
Loading…
Reference in New Issue
Block a user