Update TooGoodToGoo Home Assistant Mqtt Bridge to 2.0.0

This commit is contained in:
Max Winterstein
2022-03-05 13:55:20 +01:00
parent dcba967cc8
commit af70c3eb11
5 changed files with 16 additions and 6 deletions

View File

@@ -1,5 +1,11 @@
# Changelog
## [2.0.0] - 2022-03-05
- Update `toogoodtogo-ha-mqtt-bridge` to `2.0.0` (see [release notes])(https://github.com/MaxWinterstein/toogoodtogo-ha-mqtt-bridge/releases))
- Ensure login tokens are stored across reboot.
- Align Add-on version with bridge version.
## [1.9.2] - 2021-11-03
- Update `toogoodtogo-ha-mqtt-bridge` to `1.9.2` (see [release notes])(https://github.com/MaxWinterstein/toogoodtogo-ha-mqtt-bridge/releases))

View File

@@ -11,8 +11,9 @@ mqtt:
username: mqtt
password: mqtt
tgtg:
email: me@example.ocm
every_n_minutes: 10
email: me@example.com
language: en-US
polling_schedule: "*/10 * * * *"
timezone: Europe/Berlin
locale: en_us
```

View File

@@ -7,7 +7,7 @@ ENV PATH=$HOME/.poetry/bin/:${PATH}
RUN poetry config virtualenvs.create false
# add source and unpack
ADD "https://github.com/MaxWinterstein/toogoodtogo-ha-mqtt-bridge/archive/v1.9.2.tar.gz" /src.tar.gz
ADD "https://github.com/MaxWinterstein/toogoodtogo-ha-mqtt-bridge/archive/v2.0.0.tar.gz" /src.tar.gz
RUN mkdir /app && tar xvfz /src.tar.gz -C /app --strip-components=1
# install

View File

@@ -1,5 +1,6 @@
### 🚨 Important Information 🚨
- 🚨 Take care of the new `polling_schedule` setting! See [README](https://github.com/MaxWinterstein/toogoodtogo-ha-mqtt-bridge) for more.
- This addon recently switched to pre-build images. The Update progress might fail when the installed version is <1.4.0.
Copy your _Configuration_ to your clipboard and Uninstall/Install manually.
- This is some experimental release!

View File

@@ -1,6 +1,6 @@
---
name: TooGoodToGo Home Assistant MQTT Bridge
version: 1.9.2-2
version: 2.0.0
image: maxwinterstein/homeassistant-addon-toogoodtogo-ha-mqtt-bridge-{arch}
slug: tgtg-ha-mqtt-bridge
description: Publish TooGoodToGo stock as MQTT messages
@@ -20,7 +20,8 @@ options:
password: mqtt
tgtg:
email: me@example.com
every_n_minutes: 5
language: en-US
polling_schedule: "*/10 * * * *"
timezone: Europe/Berlin
locale: en_us
cleanup: true
@@ -32,7 +33,8 @@ schema:
password: str?
tgtg:
email: str
every_n_minutes: float(0.1,)
language: str
polling_schedule: str
timezone: str?
locale: str?
cleanup: bool