When UPS values are retrieved in UPS_Device.vb, every value is substituted with a default value if there's an error getting the original value. This could be misleading to the user since they may think that their UPS is reading a strange value (for example, UPS load at 100% or input voltage at 220 volts for 110 volt users). It may be better to use an unrealistic number to show that an error occurred (like -1), or throw an exception to let the calling code know a problem occurred and act accordingly (error, indicator, etc.)
I have similar problem with APC Back-UPS Pro 1500G, there two battery connected serial, so default Battery Voltage should be 24V.
NUT send data correctly, as I see in HA.
When UPS values are retrieved in UPS_Device.vb, every value is substituted with a default value if there's an error getting the original value. This could be misleading to the user since they may think that their UPS is reading a strange value (for example, UPS load at 100% or input voltage at 220 volts for 110 volt users). It may be better to use an unrealistic number to show that an error occurred (like -1), or throw an exception to let the calling code know a problem occurred and act accordingly (error, indicator, etc.)