From 30a9ce63becd86c99a1bd9ef03c63a29f04f187c Mon Sep 17 00:00:00 2001 From: "Community Hass.io Add-ons Bot" Date: Sat, 7 Dec 2019 09:41:58 +0000 Subject: [PATCH] :arrow_up: Updating add-on Network UPS Tools to 79fe9c6 --- README.md | 6 +++--- nut/CHANGELOG.md | 4 ++-- nut/README.md | 6 +++--- nut/config.json | 38 ++++++++++++++++++++++++++++++-------- 4 files changed, 38 insertions(+), 16 deletions(-) diff --git a/README.md b/README.md index 5163bb73a..86cec4a5d 100644 --- a/README.md +++ b/README.md @@ -1065,10 +1065,10 @@ SOFTWARE. [mopidy-armhf-shield]: https://img.shields.io/badge/armhf-no-red.svg [mopidy-armv7-shield]: https://img.shields.io/badge/armv7-yes-green.svg [mopidy-i386-shield]: https://img.shields.io/badge/i386-yes-green.svg -[addon-nut]: https://github.com/hassio-addons/addon-nut/tree/a073622 -[addon-doc-nut]: https://github.com/hassio-addons/addon-nut/blob/a073622/README.md +[addon-nut]: https://github.com/hassio-addons/addon-nut/tree/79fe9c6 +[addon-doc-nut]: https://github.com/hassio-addons/addon-nut/blob/79fe9c6/README.md [nut-issue]: https://github.com/hassio-addons/addon-nut/issues -[nut-version-shield]: https://img.shields.io/badge/version-a073622-blue.svg +[nut-version-shield]: https://img.shields.io/badge/version-79fe9c6-blue.svg [nut-pulls-shield]: https://img.shields.io/docker/pulls/hassioaddons/nut-armhf.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 diff --git a/nut/CHANGELOG.md b/nut/CHANGELOG.md index befe26a5e..e20b4664e 100644 --- a/nut/CHANGELOG.md +++ b/nut/CHANGELOG.md @@ -1,3 +1,3 @@ -2019/04/22 19:48 UTC - [a073622](https://github.com/hassio-addons/addon-nut/commit/a073622a9fde87af96006982e03408f8d222fcfd) by [@frenck](https://github.com/frenck) -> :hammer: Rewrite add-on onto Bashio +2019/12/07 09:36 UTC - [79fe9c6](https://github.com/hassio-addons/addon-nut/commit/79fe9c6bb9b07462cf1d890a2670a538a499266b) by [@sinclairpaul](https://github.com/sinclairpaul) +> 📚Update Readme to reflect changes diff --git a/nut/README.md b/nut/README.md index 64dbdb863..d9f53e7b8 100644 --- a/nut/README.md +++ b/nut/README.md @@ -70,7 +70,7 @@ If you are more interested in stable releases of our add-ons: [buymeacoffee]: https://www.buymeacoffee.com/dale3h [discord-shield]: https://img.shields.io/discord/478094546522079232.svg [discord]: https://discord.me/hassioaddons -[docs]: https://github.com/hassio-addons/addon-nut/blob/a073622/README.md +[docs]: https://github.com/hassio-addons/addon-nut/blob/79fe9c6/README.md [forum-shield]: https://img.shields.io/badge/community-forum-brightgreen.svg [forum]: https://community.home-assistant.io/t/community-hass-io-add-on-network-ups-tools/68516 [maintenance-shield]: https://img.shields.io/maintenance/yes/2019.svg @@ -79,5 +79,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-a073622-blue.svg -[release]: https://github.com/hassio-addons/addon-nut/tree/a073622 \ No newline at end of file +[release-shield]: https://img.shields.io/badge/version-79fe9c6-blue.svg +[release]: https://github.com/hassio-addons/addon-nut/tree/79fe9c6 \ No newline at end of file diff --git a/nut/config.json b/nut/config.json index 7329cc4a4..8f1376d71 100644 --- a/nut/config.json +++ b/nut/config.json @@ -1,6 +1,6 @@ { "name": "Network UPS Tools", - "version": "a073622", + "version": "79fe9c6", "slug": "nut", "description": "Manage battery backup (UPS) devices", "url": "https://github.com/hassio-addons/addon-nut", @@ -14,10 +14,10 @@ ], "boot": "auto", "hassio_api": true, - "hassio_role": "default", + "hassio_role": "manager", "homeassistant_api": true, "ports": { - "3493/tcp": 3493 + "3493/tcp": null }, "ports_description": { "3493/tcp": "Network UPS Tools" @@ -25,10 +25,6 @@ "devices": [ "/dev/bus/usb:/dev/bus/usb:rwm" ], - "map": [ - "config:rw" - ], - "stdin": true, "options": { "users": [ { @@ -39,7 +35,17 @@ ], "actions": [] } - ] + ], + "devices": [ + { + "name": "myups", + "driver": "usbhid-ups", + "port": "auto", + "config": [] + } + ], + "mode": "netserver", + "shutdown_hassio": "false" }, "schema": { "log_level": "match(^(trace|debug|info|notice|warning|error|fatal)$)?", @@ -56,6 +62,22 @@ "upsmon": "match(^(master|slave)$)?" } ], + "devices": [ + { + "name": "str", + "driver": "str", + "port": "str", + "config": [ + "str" + ] + } + ], + "shutdown_hassio": "bool", + "mode": "match(^(netserver|netclient)$)", + "remote_ups_name": "str?", + "remote_ups_host": "str?", + "remote_ups_password": "str?", + "remote_ups_user": "str?", "i_like_to_be_pwned": "bool?", "leave_front_door_open": "bool?" },