mirror of
https://github.com/mtan93/homeassistant-addons.git
synced 2026-03-08 05:21:51 +00:00
Update bridge to v1.4.0
This commit is contained in:
@@ -1,5 +1,8 @@
|
|||||||
# Changelog
|
# Changelog
|
||||||
|
|
||||||
|
## [1.5.0] - 2021-03-06
|
||||||
|
- Update `toogoodtogo-ha-mqtt-bridge` to `1.4.0` (see [release notes](https://github.com/MaxWinterstein/toogoodtogo-ha-mqtt-bridge/releases))
|
||||||
|
|
||||||
## [1.4.0] - 2021-02-10
|
## [1.4.0] - 2021-02-10
|
||||||
- Use Pre-build containers (no more unused docker images, yay).
|
- Use Pre-build containers (no more unused docker images, yay).
|
||||||
**🚨 !!Important Update Notice!! 🚨**
|
**🚨 !!Important Update Notice!! 🚨**
|
||||||
|
|||||||
@@ -15,4 +15,6 @@ tgtg:
|
|||||||
every_n_minutes: 10
|
every_n_minutes: 10
|
||||||
timezone: Europe/Berlin
|
timezone: Europe/Berlin
|
||||||
locale: en_us
|
locale: en_us
|
||||||
```
|
```
|
||||||
|
|
||||||
|
See https://github.com/MaxWinterstein/toogoodtogo-ha-mqtt-bridge for more configuration options.
|
||||||
@@ -6,12 +6,8 @@ RUN curl -sSL https://raw.githubusercontent.com/python-poetry/poetry/master/get-
|
|||||||
ENV PATH=$HOME/.poetry/bin/:${PATH}
|
ENV PATH=$HOME/.poetry/bin/:${PATH}
|
||||||
RUN poetry config virtualenvs.create false
|
RUN poetry config virtualenvs.create false
|
||||||
|
|
||||||
# Calls for a random number to bust the cache
|
|
||||||
# (https://stackoverflow.com/questions/35134713/disable-cache-for-specific-run-commands/58801213#58801213)
|
|
||||||
ADD "https://www.random.org/cgi-bin/randbyte?nbytes=10&format=h" skipcache
|
|
||||||
|
|
||||||
# add source and unpack
|
# add source and unpack
|
||||||
ADD "https://github.com/MaxWinterstein/toogoodtogo-ha-mqtt-bridge/archive/v1.3.0.tar.gz" /src.tar.gz
|
ADD "https://github.com/MaxWinterstein/toogoodtogo-ha-mqtt-bridge/archive/v1.4.0.tar.gz" /src.tar.gz
|
||||||
RUN mkdir /app && tar xvfz /src.tar.gz -C /app --strip-components=1
|
RUN mkdir /app && tar xvfz /src.tar.gz -C /app --strip-components=1
|
||||||
|
|
||||||
# install
|
# install
|
||||||
@@ -20,4 +16,5 @@ RUN poetry install --no-dev
|
|||||||
|
|
||||||
COPY run.sh /
|
COPY run.sh /
|
||||||
RUN chmod a+x /run.sh
|
RUN chmod a+x /run.sh
|
||||||
|
ENV DYNACONF_DATA_DIR=/data
|
||||||
CMD [ "/run.sh" ]
|
CMD [ "/run.sh" ]
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "TooGoodToGo Home Assistant MQTT Bridge",
|
"name": "TooGoodToGo Home Assistant MQTT Bridge",
|
||||||
"version": "1.4.0",
|
"version": "1.5.0",
|
||||||
"image": "maxwinterstein/homeassistant-addon-toogoodtogo-ha-mqtt-bridge-{arch}",
|
"image": "maxwinterstein/homeassistant-addon-toogoodtogo-ha-mqtt-bridge-{arch}",
|
||||||
"slug": "tgtg-ha-mqtt-bridge",
|
"slug": "tgtg-ha-mqtt-bridge",
|
||||||
"description": "Publish TooGoodToGo stock as MQTT messages",
|
"description": "Publish TooGoodToGo stock as MQTT messages",
|
||||||
@@ -26,7 +26,8 @@
|
|||||||
"every_n_minutes": 5
|
"every_n_minutes": 5
|
||||||
},
|
},
|
||||||
"timezone": "Europe/Berlin",
|
"timezone": "Europe/Berlin",
|
||||||
"locale": "en_us"
|
"locale": "en_us",
|
||||||
|
"cleanup": true
|
||||||
},
|
},
|
||||||
"schema": {
|
"schema": {
|
||||||
"mqtt": {
|
"mqtt": {
|
||||||
@@ -41,7 +42,8 @@
|
|||||||
"every_n_minutes": "float(0.1,)"
|
"every_n_minutes": "float(0.1,)"
|
||||||
},
|
},
|
||||||
"timezone": "str?",
|
"timezone": "str?",
|
||||||
"locale": "str?"
|
"locale": "str?",
|
||||||
|
"cleanup": "bool"
|
||||||
},
|
},
|
||||||
"stage": "experimental",
|
"stage": "experimental",
|
||||||
"url": "https://github.com/MaxWinterstein/toogoodtogo-ha-mqtt-bridge",
|
"url": "https://github.com/MaxWinterstein/toogoodtogo-ha-mqtt-bridge",
|
||||||
|
|||||||
Reference in New Issue
Block a user