🎉 Release of add-on Network UPS Tools 0.9.0

This commit is contained in:
Community Hass.io Add-ons Bot 2021-11-11 13:14:38 +00:00
parent 415b30af4a
commit 498c284831
5 changed files with 91 additions and 99 deletions

View file

@ -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

View file

@ -1,14 +1,29 @@
## Whats 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)

View file

@ -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
[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

View file

@ -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}"
}

64
nut/config.yaml Normal file
View file

@ -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