From 5c0c73e153b2758e2614ae9c648e083f8eff0799 Mon Sep 17 00:00:00 2001 From: "Community Hass.io Add-ons Bot" Date: Mon, 8 Feb 2021 15:38:23 +0000 Subject: [PATCH] :tada: Release of add-on Network UPS Tools 0.5.0 --- README.md | 6 +++--- nut/CHANGELOG.md | 22 +++++++++++++--------- nut/DOCS.md | 25 +++++-------------------- nut/README.md | 4 ++-- nut/config.json | 8 +++----- 5 files changed, 26 insertions(+), 39 deletions(-) diff --git a/README.md b/README.md index 8a7a00f0..902bfb18 100644 --- a/README.md +++ b/README.md @@ -918,10 +918,10 @@ SOFTWARE. [matrix-armhf-shield]: https://img.shields.io/badge/armhf-yes-green.svg [matrix-armv7-shield]: https://img.shields.io/badge/armv7-yes-green.svg [matrix-i386-shield]: https://img.shields.io/badge/i386-yes-green.svg -[addon-nut]: https://github.com/hassio-addons/addon-nut/tree/v0.4.0 -[addon-doc-nut]: https://github.com/hassio-addons/addon-nut/blob/v0.4.0/README.md +[addon-nut]: https://github.com/hassio-addons/addon-nut/tree/v0.5.0 +[addon-doc-nut]: https://github.com/hassio-addons/addon-nut/blob/v0.5.0/README.md [nut-issue]: https://github.com/hassio-addons/addon-nut/issues -[nut-version-shield]: https://img.shields.io/badge/version-v0.4.0-blue.svg +[nut-version-shield]: https://img.shields.io/badge/version-v0.5.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 fb0c321f..beba3dd3 100644 --- a/nut/CHANGELOG.md +++ b/nut/CHANGELOG.md @@ -1,16 +1,20 @@ ## What’s changed -## 🚀 Enhancements - -- ⬆Update base image to v9.0.1 and dependencies @sinclairpaul (#65) - ## 🧰 Maintenance -- Cleanup repository @frenck (#60) -- Happy New Year @frenck (#62) -- Upgrade Code of Conduct @frenck (#63) -- 🔨 Add new CI workflow @sinclairpaul (#64) +- 🔨 Update add-on config for Supervisor 2021.2 @sinclairpaul (#78) + +## 📚 Documentation + +- 📚 Update docs to reflect integration @sinclairpaul (#72) ## ⬆️ Dependency updates -- ⬆Update base image to v9.0.1 and dependencies @sinclairpaul (#65) +- 🔨 Bump add-on linter to v2.0.0 @sinclairpaul (#77) +- Bump frenck/action-addon-linter from v1.3.1 to v1.4 @dependabot (#67) +- Bump actions/stale from v3.0.14 to v3.0.15 @dependabot (#68) +- Bump frenck/action-yamllint from v1.0.2 to v1.1 @dependabot (#71) +- Upgrade add-on base image to 9.1.2 @frenck (#70) +- Bump actions/cache from v2.1.3 to v2.1.4 @dependabot (#74) +- Bump actionshub/markdownlint from 2.0.0 to 2.0.2 @dependabot (#73) +- Bump actions/stale from v3.0.15 to v3.0.16 @dependabot (#75) diff --git a/nut/DOCS.md b/nut/DOCS.md index 65327c99..9348c780 100644 --- a/nut/DOCS.md +++ b/nut/DOCS.md @@ -13,28 +13,13 @@ are [compatible][nut-compatible]. The Network UPS Tools (NUT) project is the combined effort of many [individuals and companies][nut-acknowledgements]. -Be sure to add a NUT Sensor to your `configuration.yaml` after starting the -add-on: +Be sure to add the NUT integration after starting the add-on. -```yaml -sensor: - - platform: nut - name: "CyberPower 1500" - host: a0d7b954-nut - username: nutty - password: changeme - resources: - - battery.charge - - battery.runtime - - ups.load - - ups.status -``` - -**Note**: _The host `a0d7b954-nut` is required to allow Home Assistant to +**Note**: _The host `a0d7b954-nut` can be used to allow Home Assistant to communicate directly with the addon_ -For more information on how to configure the NUT Sensor in Home Assistant -see the [NUT Sensor documentation][nut-sensor-docs]. +For more information on how to configure the NUT integration in Home Assistant +see the [NUT integration documentation][nut-ha-docs]. ## Installation @@ -381,7 +366,7 @@ SOFTWARE. [nut-features]: https://networkupstools.org/features.html [nut-notif-doc-1]: https://networkupstools.org/docs/user-manual.chunked/ar01s07.html [nut-notif-doc-2]: https://networkupstools.org/docs/man/upsmon.conf.html -[nut-sensor-docs]: https://www.home-assistant.io/components/sensor.nut/ +[nut-ha-docs]: https://www.home-assistant.io/integrations/nut/ [nutupsdrv]: https://networkupstools.org/docs/man/nutupsdrv.html [reddit]: https://reddit.com/r/homeassistant [releases]: https://github.com/hassio-addons/addon-nut/releases diff --git a/nut/README.md b/nut/README.md index 6048fcc1..823c01c3 100644 --- a/nut/README.md +++ b/nut/README.md @@ -73,5 +73,5 @@ If you are more interested in stable releases of our add-ons: [nut-features]: https://networkupstools.org/features.html [nut-sensor-docs]: https://www.home-assistant.io/components/sensor.nut/ [project-stage-shield]: https://img.shields.io/badge/project%20stage-experimental-yellow.svg -[release-shield]: https://img.shields.io/badge/version-v0.4.0-blue.svg -[release]: https://github.com/hassio-addons/addon-nut/tree/v0.4.0 \ No newline at end of file +[release-shield]: https://img.shields.io/badge/version-v0.5.0-blue.svg +[release]: https://github.com/hassio-addons/addon-nut/tree/v0.5.0 \ No newline at end of file diff --git a/nut/config.json b/nut/config.json index fd55c9d4..e13a6276 100644 --- a/nut/config.json +++ b/nut/config.json @@ -1,6 +1,6 @@ { "name": "Network UPS Tools", - "version": "0.4.0", + "version": "0.5.0", "slug": "nut", "description": "Manage battery backup (UPS) devices", "url": "https://github.com/hassio-addons/addon-nut", @@ -12,7 +12,8 @@ "armv7", "i386" ], - "auto_uart": true, + "uart": true, + "usb": true, "hassio_api": true, "hassio_role": "manager", "homeassistant_api": true, @@ -22,9 +23,6 @@ "ports_description": { "3493/tcp": "Network UPS Tools" }, - "devices": [ - "/dev/bus/usb:/dev/bus/usb:rwm" - ], "options": { "users": [ {