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
|
||||
|
||||
## [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
|
||||
- Initial release
|
||||
@@ -1,3 +1,3 @@
|
||||
# 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 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
|
||||
|
||||
# install
|
||||
|
||||
@@ -5,4 +5,15 @@
|
||||
## 🚨 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",
|
||||
"version": "0.1.0",
|
||||
"version": "1.0.0",
|
||||
"slug": "tgtg-ha-mqtt-bridge",
|
||||
"description": "Publish TooGoodToGo stock as MQTT messages",
|
||||
"arch": [
|
||||
@@ -19,8 +19,9 @@
|
||||
"password": "mqtt"
|
||||
},
|
||||
"tgtg": {
|
||||
"email": "me@example.ocm",
|
||||
"password": "iliketurtles"
|
||||
"email": "me@example.com",
|
||||
"password": "iliketurtles",
|
||||
"every_n_minutes": 5
|
||||
}
|
||||
},
|
||||
"schema": {
|
||||
@@ -32,7 +33,8 @@
|
||||
},
|
||||
"tgtg": {
|
||||
"email": "str",
|
||||
"password": "str"
|
||||
"password": "str",
|
||||
"every_n_minutes": "float(0.5,)"
|
||||
}
|
||||
},
|
||||
"stage": "experimental",
|
||||
|
||||
Reference in New Issue
Block a user