commit
2ba2a3aa76
|
|
@ -1 +1,2 @@
|
||||||
0.01: New App!
|
0.01: New App!
|
||||||
|
0.02: Get health data for the day
|
||||||
|
|
|
||||||
|
|
@ -91,7 +91,7 @@ const runHassio = () => {
|
||||||
});
|
});
|
||||||
|
|
||||||
const updateSensor = () => {
|
const updateSensor = () => {
|
||||||
hassioAttributes.health = Bangle.getHealthStatus();
|
hassioAttributes.health = Bangle.getHealthStatus("day");
|
||||||
hassioAttributes.accel = Bangle.getAccel();
|
hassioAttributes.accel = Bangle.getAccel();
|
||||||
hassioAttributes.battery = getBattery();
|
hassioAttributes.battery = getBattery();
|
||||||
hassioAttributes.compass = Bangle.getCompass();
|
hassioAttributes.compass = Bangle.getCompass();
|
||||||
|
|
|
||||||
|
|
@ -2,7 +2,7 @@
|
||||||
"name": "Home Assistant API Interface",
|
"name": "Home Assistant API Interface",
|
||||||
"shortName":"Hassio",
|
"shortName":"Hassio",
|
||||||
"icon": "hassio.png",
|
"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.",
|
"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",
|
"tags": "tool,sensors",
|
||||||
"supports": ["BANGLEJS2"],
|
"supports": ["BANGLEJS2"],
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue