mirror of
https://github.com/mtan93/homeassistant-addons.git
synced 2026-03-08 05:21:51 +00:00
Update toogoodtogo-ha-mqtt-bridge==1.0.0
This commit is contained in:
@@ -1,4 +1,9 @@
|
|||||||
# Changelog
|
# Changelog
|
||||||
|
|
||||||
|
## [1.0.0] - 2020-12-31
|
||||||
|
- Update `toogoodtogo-ha-mqtt-bridge` to `1.0.0` (see [release notes](https://github.com/MaxWinterstein/toogoodtogo-ha-mqtt-bridge/releases))
|
||||||
|
- Add config for the new pull interval setting `every_n_minutes`.
|
||||||
|
**Add `every_n_minutes: 10` to your configuration! (See example config)**
|
||||||
|
|
||||||
## [0.1.0] - 2020-12-31
|
## [0.1.0] - 2020-12-31
|
||||||
- Initial release
|
- Initial release
|
||||||
@@ -1,3 +1,3 @@
|
|||||||
# sneaky trick to get around the requirement of {arch}-variabe based docker repositories
|
# sneaky trick to get around the requirement of {arch}-variabe based docker repositories
|
||||||
|
|
||||||
FROM maxwinterstein/homeassistant-addon-toogoodtogo-ha-mqtt-bridge:latest
|
FROM maxwinterstein/homeassistant-addon-toogoodtogo-ha-mqtt-bridge:1.0.0
|
||||||
|
|||||||
@@ -11,7 +11,7 @@ RUN poetry config virtualenvs.create false
|
|||||||
ADD "https://www.random.org/cgi-bin/randbyte?nbytes=10&format=h" skipcache
|
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/tarball/main" /src.tar.gz
|
ADD "https://github.com/MaxWinterstein/toogoodtogo-ha-mqtt-bridge/archive/v1.0.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
|
||||||
|
|||||||
@@ -5,4 +5,15 @@
|
|||||||
## 🚨 This is some experimental release! 🚨
|
## 🚨 This is some experimental release! 🚨
|
||||||
---
|
---
|
||||||
|
|
||||||
**The underlaying docker image will be build every night until there is some kind of versioning available.**
|
Example Config:
|
||||||
|
```toml
|
||||||
|
mqtt:
|
||||||
|
host: homeassistant
|
||||||
|
port: 1883
|
||||||
|
username: mqtt
|
||||||
|
password: mqtt
|
||||||
|
tgtg:
|
||||||
|
email: me@example.ocm
|
||||||
|
password: iliketurtles
|
||||||
|
every_n_minutes: 10
|
||||||
|
```
|
||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "TooGoodToGo Home Assistant MQTT Bridge",
|
"name": "TooGoodToGo Home Assistant MQTT Bridge",
|
||||||
"version": "0.1.0",
|
"version": "1.0.0",
|
||||||
"slug": "tgtg-ha-mqtt-bridge",
|
"slug": "tgtg-ha-mqtt-bridge",
|
||||||
"description": "Publish TooGoodToGo stock as MQTT messages",
|
"description": "Publish TooGoodToGo stock as MQTT messages",
|
||||||
"arch": [
|
"arch": [
|
||||||
@@ -19,8 +19,9 @@
|
|||||||
"password": "mqtt"
|
"password": "mqtt"
|
||||||
},
|
},
|
||||||
"tgtg": {
|
"tgtg": {
|
||||||
"email": "me@example.ocm",
|
"email": "me@example.com",
|
||||||
"password": "iliketurtles"
|
"password": "iliketurtles",
|
||||||
|
"every_n_minutes": 5
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"schema": {
|
"schema": {
|
||||||
@@ -32,7 +33,8 @@
|
|||||||
},
|
},
|
||||||
"tgtg": {
|
"tgtg": {
|
||||||
"email": "str",
|
"email": "str",
|
||||||
"password": "str"
|
"password": "str",
|
||||||
|
"every_n_minutes": "float(0.5,)"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"stage": "experimental",
|
"stage": "experimental",
|
||||||
|
|||||||
Reference in New Issue
Block a user