diff --git a/apps/hassio/ChangeLog b/apps/hassio/ChangeLog index 2286a7f70..7c651699c 100644 --- a/apps/hassio/ChangeLog +++ b/apps/hassio/ChangeLog @@ -1 +1,2 @@ -0.01: New App! \ No newline at end of file +0.01: New App! +0.02: Get health data for the day diff --git a/apps/hassio/hassio.boot.js b/apps/hassio/hassio.boot.js index 14aa34f6a..de8a87141 100644 --- a/apps/hassio/hassio.boot.js +++ b/apps/hassio/hassio.boot.js @@ -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); } -})(); \ No newline at end of file +})(); diff --git a/apps/hassio/metadata.json b/apps/hassio/metadata.json index 0e9c6a2d5..d2d7ea4f3 100644 --- a/apps/hassio/metadata.json +++ b/apps/hassio/metadata.json @@ -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"], @@ -15,4 +15,4 @@ {"name":"hassio.img","url":"hassio.img"} ], "data": [{"name":"hassio.json"}] -} \ No newline at end of file +}