Add and apply prettier pre-commit hook

This commit is contained in:
Max Winterstein
2021-09-18 22:12:17 +02:00
parent 50c2e44b7f
commit 2b6ff89517
23 changed files with 197 additions and 147 deletions

View File

@@ -1,30 +1,38 @@
# Changelog
## [1.6.0] - 2021-03-08
- Update `toogoodtogo-ha-mqtt-bridge` to `1.5.0` (see [release notes](https://github.com/MaxWinterstein/toogoodtogo-ha-mqtt-bridge/releases)
## [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
- Use Pre-build containers (no more unused docker images, yay).
**🚨 !!Important Update Notice!! 🚨**
The Update progress might fail when the installed version is <1.4.0.
Copy your *Configuration* to your clipboard and Uninstall/Install manually.
Copy your _Configuration_ to your clipboard and Uninstall/Install manually.
## [1.3.0] - 2021-02-08
- Update `toogoodtogo-ha-mqtt-bridge` to `1.3.0` (see [release notes](https://github.com/MaxWinterstein/toogoodtogo-ha-mqtt-bridge/releases))
## [1.2.0] - 2021-02-07
- Update `toogoodtogo-ha-mqtt-bridge` to `1.2.0` (see [release notes](https://github.com/MaxWinterstein/toogoodtogo-ha-mqtt-bridge/releases))
## [1.1.0] - 2021-01-16
- Update `toogoodtogo-ha-mqtt-bridge` to `1.1.0` (see [release notes](https://github.com/MaxWinterstein/toogoodtogo-ha-mqtt-bridge/releases))
## [1.0.0] - 2021-01-14
- 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

View File

@@ -3,6 +3,7 @@
## Configuration
Example Config:
```toml
mqtt:
host: homeassistant
@@ -17,4 +18,4 @@ timezone: Europe/Berlin
locale: en_us
```
See https://github.com/MaxWinterstein/toogoodtogo-ha-mqtt-bridge for more configuration options.
See https://github.com/MaxWinterstein/toogoodtogo-ha-mqtt-bridge for more configuration options.

View File

@@ -1,7 +1,9 @@
### 🚨 Important Information 🚨
* 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!
- 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!
---
# Home Assistant Add-on: TooGoodToGo Home Assistant MQTT Bridge
@@ -16,7 +18,6 @@
Based on https://github.com/MaxWinterstein/toogoodtogo-ha-mqtt-bridge
[aarch64-shield]: https://img.shields.io/badge/aarch64-yes-green.svg
[amd64-shield]: https://img.shields.io/badge/amd64-yes-green.svg
[armhf-shield]: https://img.shields.io/badge/armhf-yes-green.svg

View File

@@ -1,9 +1,9 @@
{
"build_from": {
"aarch64": "ghcr.io/hassio-addons/base-python/aarch64:6.0.0",
"amd64": "ghcr.io/hassio-addons/base-python/amd64:6.0.0",
"armhf": "ghcr.io/hassio-addons/base-python/armhf:6.0.0",
"armv7": "ghcr.io/hassio-addons/base-python/armv7:6.0.0",
"i386": "ghcr.io/hassio-addons/base-python/i386:6.0.0"
}
}
"build_from": {
"aarch64": "ghcr.io/hassio-addons/base-python/aarch64:6.0.0",
"amd64": "ghcr.io/hassio-addons/base-python/amd64:6.0.0",
"armhf": "ghcr.io/hassio-addons/base-python/armhf:6.0.0",
"armv7": "ghcr.io/hassio-addons/base-python/armv7:6.0.0",
"i386": "ghcr.io/hassio-addons/base-python/i386:6.0.0"
}
}

View File

@@ -4,13 +4,7 @@
"image": "maxwinterstein/homeassistant-addon-toogoodtogo-ha-mqtt-bridge-{arch}",
"slug": "tgtg-ha-mqtt-bridge",
"description": "Publish TooGoodToGo stock as MQTT messages",
"arch": [
"armhf",
"armv7",
"aarch64",
"amd64",
"i386"
],
"arch": ["armhf", "armv7", "aarch64", "amd64", "i386"],
"startup": "application",
"boot": "auto",
"options": {
@@ -49,4 +43,4 @@
"url": "https://github.com/MaxWinterstein/toogoodtogo-ha-mqtt-bridge",
"hassio_role": "default",
"hassio_api": true
}
}