hassio-addons / addon-nut

Network UPS Tools - Home Assistant Community Add-ons
https://addons.community
MIT License
188 stars 36 forks source link

NUT integration: using Sub-option: powervalue: 0 cause error starting add-on. #387

Closed fmobile999 closed 2 weeks ago

fmobile999 commented 2 weeks ago

The problem

Problem: using Sub-option: powervalue: 0, due to documentation, cause error starting add-on.

Network UPS Tools Current version: 0.13.2


Network UPS Tools upsmon 2.8.0

Fatal error: insufficient power configured!

Sum of power values........: 0
Minimum value (MINSUPPLIES): 1

Edit your upsmon.conf and change the values.

powervalue: 1 works fine

Config:

- name: apcups
  driver: usbhid-ups
  port: auto
  powervalue: 0
  config:
    - vendorid = 051d*

What version of Home Assistant Core has the issue?

core-2024.10.1

What was the last working version of Home Assistant Core?

No response

What type of installation are you running?

Home Assistant Supervised

Integration causing the issue

Network UPS Tools

Link to integration documentation on our website

No response

Diagnostics information

No response

Example YAML snippet

No response

Anything in the logs that might be useful for us?

No response

Additional information

No response