1
0
Fork 0

Get daily steps

master
olivierbarriere 2024-04-15 23:54:50 -04:00 committed by GitHub
parent 4efad187fc
commit 19dc8fdcac
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 2 deletions

View File

@ -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);
}
})();
})();