diff --git a/README.md b/README.md index 4a4362ee..933fff6d 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.6.1 -[addon-doc-nut]: https://github.com/hassio-addons/addon-nut/blob/v0.6.1/README.md +[addon-nut]: https://github.com/hassio-addons/addon-nut/tree/v0.6.2 +[addon-doc-nut]: https://github.com/hassio-addons/addon-nut/blob/v0.6.2/README.md [nut-issue]: https://github.com/hassio-addons/addon-nut/issues -[nut-version-shield]: https://img.shields.io/badge/version-v0.6.1-blue.svg +[nut-version-shield]: https://img.shields.io/badge/version-v0.6.2-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 87908cd0..f2f55dc6 100644 --- a/nut/CHANGELOG.md +++ b/nut/CHANGELOG.md @@ -1,7 +1,11 @@ ## What’s changed -Minor release to update references to the HA integration +Adds optional deadtime configuration, to ease stale issues with Cyberpower UPS devices. + +## πŸš€ Enhancements + +- πŸ”¨ Add deadtime configuration option @sinclairpaul (#94) ## πŸ“š Documentation -- πŸ“š Doc tweaks @sinclairpaul (#90) +- πŸ”¨ Add deadtime configuration option @sinclairpaul (#94) diff --git a/nut/DOCS.md b/nut/DOCS.md index e6948c67..b09c905c 100644 --- a/nut/DOCS.md +++ b/nut/DOCS.md @@ -217,6 +217,11 @@ be present, however they will have no effect_ Allows setting the MAXAGE value in upsd.conf to increase the timeout for specific drivers, should not be changed for the majority of users. +#### Option: `upsmon_deadtime` + +Allows setting the DEADTIME value in upsmon.conf to adjust the stale time for +the monitor process, should not be changed for the majority of users. + ### Option: `i_like_to_be_pwned` Adding this option to the add-on configuration allows to you bypass the diff --git a/nut/README.md b/nut/README.md index e453026a..3c76e71f 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.6.1-blue.svg -[release]: https://github.com/hassio-addons/addon-nut/tree/v0.6.1 \ No newline at end of file +[release-shield]: https://img.shields.io/badge/version-v0.6.2-blue.svg +[release]: https://github.com/hassio-addons/addon-nut/tree/v0.6.2 \ No newline at end of file diff --git a/nut/config.json b/nut/config.json index 2e6035ab..28f1bf06 100644 --- a/nut/config.json +++ b/nut/config.json @@ -1,6 +1,6 @@ { "name": "Network UPS Tools", - "version": "0.6.1", + "version": "0.6.2", "slug": "nut", "description": "Manage battery backup (UPS) devices", "url": "https://github.com/hassio-addons/addon-nut", @@ -79,6 +79,7 @@ "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?" },