Added stuff
This commit is contained in:
parent
cec1e09bb0
commit
9ccab35558
@ -47,7 +47,8 @@ export class BatteryService {
|
|||||||
this.last = new Date();
|
this.last = new Date();
|
||||||
let data = snap.data();
|
let data = snap.data();
|
||||||
|
|
||||||
this.relayMode = data.config.relayMode || null;
|
this.relayMode = data.config.relayMode || null
|
||||||
|
;
|
||||||
|
|
||||||
this.batteries = Object.keys(data.modules).map(key => {
|
this.batteries = Object.keys(data.modules).map(key => {
|
||||||
let last = data.modules[key].length - 1;
|
let last = data.modules[key].length - 1;
|
||||||
|
@ -1,3 +1 @@
|
|||||||
<p>
|
<h3 class="mt-3 text-center">Coming Soon</h3>
|
||||||
dashboard works!
|
|
||||||
</p>
|
|
||||||
|
@ -1,3 +1 @@
|
|||||||
<p>
|
<h3 class="mt-3 text-center">Coming Soon</h3>
|
||||||
security works!
|
|
||||||
</p>
|
|
||||||
|
@ -1,3 +1 @@
|
|||||||
<p>
|
<h3 class="mt-3 text-center">Coming Soon</h3>
|
||||||
settings works!
|
|
||||||
</p>
|
|
||||||
|
@ -2,6 +2,7 @@
|
|||||||
<!-- Current Weather -->
|
<!-- Current Weather -->
|
||||||
<div class="my-5 d-flex flex-column align-items-center">
|
<div class="my-5 d-flex flex-column align-items-center">
|
||||||
<div>
|
<div>
|
||||||
|
<h3 class="mb-0 text-center">London, ON</h3>
|
||||||
<h3>{{weatherService.weather?.currently.summary}}</h3>
|
<h3>{{weatherService.weather?.currently.summary}}</h3>
|
||||||
</div>
|
</div>
|
||||||
<div class="d-flex flex-column flex-md-row align-items-center justify-content-center">
|
<div class="d-flex flex-column flex-md-row align-items-center justify-content-center">
|
||||||
|
Loading…
Reference in New Issue
Block a user