Added stuff

This commit is contained in:
Zakary Timson 2019-01-01 17:47:12 -05:00
parent cec1e09bb0
commit 9ccab35558
5 changed files with 6 additions and 10 deletions

View File

@ -47,7 +47,8 @@ export class BatteryService {
this.last = new Date();
let data = snap.data();
this.relayMode = data.config.relayMode || null;
this.relayMode = data.config.relayMode || null
;
this.batteries = Object.keys(data.modules).map(key => {
let last = data.modules[key].length - 1;

View File

@ -1,3 +1 @@
<p>
dashboard works!
</p>
<h3 class="mt-3 text-center">Coming Soon</h3>

View File

@ -1,3 +1 @@
<p>
security works!
</p>
<h3 class="mt-3 text-center">Coming Soon</h3>

View File

@ -1,3 +1 @@
<p>
settings works!
</p>
<h3 class="mt-3 text-center">Coming Soon</h3>

View File

@ -2,6 +2,7 @@
<!-- Current Weather -->
<div class="my-5 d-flex flex-column align-items-center">
<div>
<h3 class="mb-0 text-center">London, ON</h3>
<h3>{{weatherService.weather?.currently.summary}}</h3>
</div>
<div class="d-flex flex-column flex-md-row align-items-center justify-content-center">