This commit is contained in:
lolouk44 2020-11-24 10:14:07 +00:00
parent c0d6fe2447
commit 9ba304cf11
6 changed files with 9 additions and 5 deletions

View File

@ -1,3 +1,7 @@
## [0.1.13] - 2020-11-24
### Changed
- Fixed executable files (fixes https://github.com/lolouk44/hassio-addons/issues/23)
## [0.1.12] - 2020-11-23
### Changed
- Fixed workflow for automatic docker images building

View File

@ -1,5 +1,5 @@
FROM python:3.8-slim
LABEL io.hass.version="0.1.12" io.hass.type="addon" io.hass.arch="armhf|aarch64|i386|amd64"
LABEL io.hass.version="0.1.13" io.hass.type="addon" io.hass.arch="armhf|aarch64|i386|amd64"
WORKDIR /opt/miscale
COPY src /opt/miscale

View File

@ -1,6 +1,6 @@
{
"name": "Xiaomi Mi Scale",
"version": "0.1.12",
"version": "0.1.13",
"slug": "xiaomi_mi_scale",
"description": "Read weight measurements from Xiamomi scale via BLE",
"url": "https://github.com/lolouk44/xiaomi_mi_scale_ha_add_on",

View File

@ -1,2 +1,2 @@
set -e
python3 -u /opt/miscale/Xiaomi_Scale.py
python3 -u /opt/miscale/Xiaomi_Scale.py

View File

@ -1,3 +1,3 @@
#!/bin/sh
set -e
exec "$@"
exec "$@"

View File

@ -22,4 +22,4 @@ export USER3_HEIGHT=150 # Height (in cm) of the user
export USER3_DOB=1990-01-01 # DOB (in yyyy-mm-dd format)
MY_PWD="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )"
python3 $MY_PWD/Xiaomi_Scale.py
python3 $MY_PWD/Xiaomi_Scale.py