From 498c284831e8788a1def948ac52559d73fb7845f Mon Sep 17 00:00:00 2001 From: "Community Hass.io Add-ons Bot" Date: Thu, 11 Nov 2021 13:14:38 +0000 Subject: [PATCH] :tada: Release of add-on Network UPS Tools 0.9.0 --- README.md | 6 ++-- nut/CHANGELOG.md | 29 ++++++++++++---- nut/README.md | 4 +-- nut/config.json | 87 ------------------------------------------------ nut/config.yaml | 64 +++++++++++++++++++++++++++++++++++ 5 files changed, 91 insertions(+), 99 deletions(-) delete mode 100644 nut/config.json create mode 100644 nut/config.yaml diff --git a/README.md b/README.md index 6d99ec08..5de5bc7f 100644 --- a/README.md +++ b/README.md @@ -840,10 +840,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.8.0 -[addon-doc-nut]: https://github.com/hassio-addons/addon-nut/blob/v0.8.0/README.md +[addon-nut]: https://github.com/hassio-addons/addon-nut/tree/v0.9.0 +[addon-doc-nut]: https://github.com/hassio-addons/addon-nut/blob/v0.9.0/README.md [nut-issue]: https://github.com/hassio-addons/addon-nut/issues -[nut-version-shield]: https://img.shields.io/badge/version-v0.8.0-blue.svg +[nut-version-shield]: https://img.shields.io/badge/version-v0.9.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 7d496164..8f88671d 100644 --- a/nut/CHANGELOG.md +++ b/nut/CHANGELOG.md @@ -1,14 +1,29 @@ ## What’s changed -Primarily fixes an issue with the addon shutdown command being used, which would fail. +## πŸš€ Enhancements -## πŸ› Bug fixes +- Migrate JSON config to YAML @frenck (#195) -- πŸ”¨ Update shutdown command @sinclairpaul (#160) +## 🧰 Maintenance + +- πŸš€ Add-on CI improvements @frenck (#166) +- ⬆️ Upgrade lock-threads workflow to 3.0.0 @frenck (#183) +- Switch to centralized GitHub Action Workflows @frenck (#194) + +## πŸ“š Documentation + +- πŸš‘ Fix contributing link in readme @frenck (#167) ## ⬆️ Dependency updates -- Bump dessant/lock-threads from 2.0.3 to 2.1.1 @dependabot (#154) -- Bump docker/setup-buildx-action from 1.5.0 to 1.5.1 @dependabot (#155) -- Bump frenck/action-addon-linter from 2.1 to 2.2 @dependabot (#157) -- Bump actions/stale from 3.0.19 to 4 @dependabot (#158) +- Bump dessant/lock-threads from 2.1.1 to 2.1.2 @dependabot (#168) +- ⬆️ Upgrades add-on base image to v5.0.0 @frenck (#169) +- Bump docker/build-push-action from 2.6.1 to 2.7.0 @dependabot (#170) +- Bump frenck/action-addon-linter from 2.2 to 2.3 @dependabot (#171) +- Bump creyD/prettier_action from 3.3 to 4.0 @dependabot (#173) +- Bump docker/setup-buildx-action from 1.5.1 to 1.6.0 @dependabot (#172) +- Bump frenck/action-addon-linter from 2.3 to 2.4.1 @dependabot (#179) +- ⬆️ Upgrades add-on base image to 5.1.1 @frenck (#184) +- Bump actions/checkout from 2.3.4 to 2.3.5 @dependabot (#186) +- ⬆️ Upgrades add-on base image to 5.2.0 @frenck (#196) +- ⬆️ Upgrades add-on base image to 5.2.2 @frenck (#197) diff --git a/nut/README.md b/nut/README.md index 77df5d0d..5f5c799d 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.8.0-blue.svg -[release]: https://github.com/hassio-addons/addon-nut/tree/v0.8.0 \ No newline at end of file +[release-shield]: https://img.shields.io/badge/version-v0.9.0-blue.svg +[release]: https://github.com/hassio-addons/addon-nut/tree/v0.9.0 \ No newline at end of file diff --git a/nut/config.json b/nut/config.json deleted file mode 100644 index b0cd5172..00000000 --- a/nut/config.json +++ /dev/null @@ -1,87 +0,0 @@ -{ - "name": "Network UPS Tools", - "version": "0.8.0", - "slug": "nut", - "description": "Manage battery backup (UPS) devices", - "url": "https://github.com/hassio-addons/addon-nut", - "startup": "system", - "arch": [ - "aarch64", - "amd64", - "armhf", - "armv7", - "i386" - ], - "uart": true, - "udev": true, - "usb": true, - "hassio_api": true, - "hassio_role": "manager", - "homeassistant_api": true, - "ports": { - "3493/tcp": null - }, - "ports_description": { - "3493/tcp": "Network UPS Tools" - }, - "options": { - "users": [ - { - "username": "", - "password": "", - "instcmds": [ - "all" - ], - "actions": [] - } - ], - "devices": [ - { - "name": "myups", - "driver": "usbhid-ups", - "port": "auto", - "config": [] - } - ], - "mode": "netserver", - "shutdown_host": "false" - }, - "schema": { - "log_level": "list(trace|debug|info|notice|warning|error|fatal)?", - "users": [ - { - "username": "str", - "password": "password", - "instcmds": [ - "str" - ], - "actions": [ - "str" - ], - "upsmon": "list(master|slave)?" - } - ], - "devices": [ - { - "name": "str", - "driver": "str", - "port": "str", - "config": [ - "str" - ] - } - ], - "mode": "list(netserver|netclient)", - "shutdown_host": "bool", - "list_usb_devices": "bool?", - "remote_ups_name": "str?", - "remote_ups_host": "str?", - "remote_ups_password": "password?", - "remote_ups_user": "str?", - "upsd_maxage": "int?", - "upsmon_deadtime": "int?", - "i_like_to_be_pwned": "bool?", - "leave_front_door_open": "bool?" - }, - "image": "ghcr.io/hassio-addons/nut/{arch}" -} \ No newline at end of file diff --git a/nut/config.yaml b/nut/config.yaml new file mode 100644 index 00000000..d763f85b --- /dev/null +++ b/nut/config.yaml @@ -0,0 +1,64 @@ +arch: +- aarch64 +- amd64 +- armhf +- armv7 +- i386 +description: Manage battery backup (UPS) devices +hassio_api: true +hassio_role: manager +homeassistant_api: true +image: ghcr.io/hassio-addons/nut/{arch} +name: Network UPS Tools +options: + devices: + - config: [] + driver: usbhid-ups + name: myups + port: auto + mode: netserver + shutdown_host: 'false' + users: + - actions: [] + instcmds: + - all + password: '' + username: '' +ports: + 3493/tcp: null +ports_description: + 3493/tcp: Network UPS Tools +schema: + devices: + - config: + - str + driver: str + name: str + port: str + i_like_to_be_pwned: bool? + leave_front_door_open: bool? + list_usb_devices: bool? + log_level: list(trace|debug|info|notice|warning|error|fatal)? + mode: list(netserver|netclient) + remote_ups_host: str? + remote_ups_name: str? + remote_ups_password: password? + remote_ups_user: str? + shutdown_host: bool + upsd_maxage: int? + upsmon_deadtime: int? + users: + - actions: + - str + instcmds: + - str + password: password + upsmon: list(master|slave)? + username: str +slug: nut +startup: system +uart: true +udev: true +url: https://github.com/hassio-addons/addon-nut +usb: true +version: 0.9.0