diff --git a/README.md b/README.md index f25cc230..3ead9500 100644 --- a/README.md +++ b/README.md @@ -849,10 +849,10 @@ SOFTWARE. [mqtt-io-armhf-shield]: https://img.shields.io/badge/armhf-yes-green.svg [mqtt-io-armv7-shield]: https://img.shields.io/badge/armv7-yes-green.svg [mqtt-io-i386-shield]: https://img.shields.io/badge/i386-yes-green.svg -[addon-nut]: https://github.com/hassio-addons/addon-nut/tree/v0.11.2 -[addon-doc-nut]: https://github.com/hassio-addons/addon-nut/blob/v0.11.2/README.md +[addon-nut]: https://github.com/hassio-addons/addon-nut/tree/v0.12.0 +[addon-doc-nut]: https://github.com/hassio-addons/addon-nut/blob/v0.12.0/README.md [nut-issue]: https://github.com/hassio-addons/addon-nut/issues -[nut-version-shield]: https://img.shields.io/badge/version-v0.11.2-blue.svg +[nut-version-shield]: https://img.shields.io/badge/version-v0.12.0-blue.svg [nut-aarch64-shield]: https://img.shields.io/badge/aarch64-yes-green.svg [nut-amd64-shield]: https://img.shields.io/badge/amd64-yes-green.svg [nut-armhf-shield]: https://img.shields.io/badge/armhf-yes-green.svg diff --git a/nut/CHANGELOG.md b/nut/CHANGELOG.md index 151818b4..3ce8b447 100644 --- a/nut/CHANGELOG.md +++ b/nut/CHANGELOG.md @@ -1,5 +1,12 @@ ## What’s changed -## 🚀 Enhancements +## ✨ New features -- Set maximum number of connections to 1024 @agners ([#290](https://github.com/hassio-addons/addon-nut/pull/290)) +- Add support for nut's powervalue config per-device @lozzd ([#292](https://github.com/hassio-addons/addon-nut/pull/292)) + +## ⬆️ Dependency updates + +- ⬆️ Update ghcr.io/hassio-addons/debian-base Docker tag to v6.2.5 @renovate ([#291](https://github.com/hassio-addons/addon-nut/pull/291)) +- ⬆️ Update ghcr.io/hassio-addons/debian-base Docker tag to v6.2.6 @renovate ([#295](https://github.com/hassio-addons/addon-nut/pull/295)) +- ⬆️ Update ghcr.io/hassio-addons/debian-base Docker tag to v6.2.7 @renovate ([#296](https://github.com/hassio-addons/addon-nut/pull/296)) +- ⬆️ Update ghcr.io/hassio-addons/debian-base Docker tag to v7 @renovate ([#302](https://github.com/hassio-addons/addon-nut/pull/302)) diff --git a/nut/DOCS.md b/nut/DOCS.md index e0943be6..8dec81cd 100644 --- a/nut/DOCS.md +++ b/nut/DOCS.md @@ -143,6 +143,14 @@ specific drivers. This is the serial port where the UPS is connected. The first serial port usually is `/dev/ttyS0`. Use `auto` to automatically detect the port. +#### Sub-option: `powervalue` + +Optionally lets you set whether this particular UPS provides power to the +device this add-on is running on. Useful if you have multiple UPS that you +wish to monitor, but you don't want low battery on some of them to shut down +this host. Acceptable values are `1` for "providing power to this host" or `0` +for "monitor only". Defaults to `1` + #### Sub-option: `config` A list of additional [options][ups-fields] to configure for this UPS. The common diff --git a/nut/README.md b/nut/README.md index 5c7448bc..68a1531e 100644 --- a/nut/README.md +++ b/nut/README.md @@ -58,5 +58,5 @@ If you are more interested in stable releases of our add-ons: [nut-features]: https://networkupstools.org/features.html [nut-ha-docs]: https://www.home-assistant.io/integrations/nut/ [project-stage-shield]: https://img.shields.io/badge/project%20stage-experimental-yellow.svg -[release-shield]: https://img.shields.io/badge/version-v0.11.2-blue.svg -[release]: https://github.com/hassio-addons/addon-nut/tree/v0.11.2 \ No newline at end of file +[release-shield]: https://img.shields.io/badge/version-v0.12.0-blue.svg +[release]: https://github.com/hassio-addons/addon-nut/tree/v0.12.0 \ No newline at end of file diff --git a/nut/config.yaml b/nut/config.yaml index 05554a63..1dc55d22 100644 --- a/nut/config.yaml +++ b/nut/config.yaml @@ -1,5 +1,5 @@ name: Network UPS Tools -version: 0.11.2 +version: 0.12.0 slug: nut description: Manage battery backup (UPS) devices url: https://github.com/hassio-addons/addon-nut @@ -50,6 +50,7 @@ schema: - name: str driver: str port: str + powervalue: int? config: - str mode: list(netserver|netclient)