Merge pull request #3359 from olivierbarriere/master

hassio: Get health data for the day
master
Rob Pilling 2024-04-19 08:50:42 +01:00 committed by GitHub
commit 2ba2a3aa76
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 6 additions and 5 deletions

View File

@ -1 +1,2 @@
0.01: New App!
0.02: Get health data for the day

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

View File

@ -2,7 +2,7 @@
"name": "Home Assistant API Interface",
"shortName":"Hassio",
"icon": "hassio.png",
"version":"0.01",
"version":"0.02",
"description": "This app gives access to viewing Home Assistant data and sends health, compass, accelerometer, and battery information to Home Assistant as a sensor through the Home Assistant REST API.",
"tags": "tool,sensors",
"supports": ["BANGLEJS2"],