forked from FOSS/BangleApps
Get daily steps
parent
4efad187fc
commit
19dc8fdcac
|
@ -91,7 +91,7 @@ const runHassio = () => {
|
|||
});
|
||||
|
||||
const updateSensor = () => {
|
||||
hassioAttributes.health = Bangle.getHealthStatus();
|
||||
hassioAttributes.health = Bangle.getHealthStatus("day");
|
||||
hassioAttributes.accel = Bangle.getAccel();
|
||||
hassioAttributes.battery = getBattery();
|
||||
hassioAttributes.compass = Bangle.getCompass();
|
||||
|
@ -125,4 +125,4 @@ const runHassio = () => {
|
|||
setInterval(runHassio, HASSIO.interval);
|
||||
}, 5000);
|
||||
}
|
||||
})();
|
||||
})();
|
||||
|
|
Loading…
Reference in New Issue