cjkrolak / ThermostatSupervisor

supervisor to detect and correct thermostat deviations
MIT License
0 stars 0 forks source link

bogus voltage value can result in voltage status = OK #722

Closed cjkrolak closed 10 months ago

cjkrolak commented 10 months ago

bogus voltage should always return N/A status

zone: 7, name: 7, temp: -123456789.0, wifi strength: -123456789.0 dBm (N/A), battery voltage: -123456789.00 volts (N/A)
Did not receive valid response from server.
raw_wifi=-123456789.0, type(<class 'float'>)
zone: 8, name: 8, temp: -123456789.0, wifi strength: -123456789.0 dBm (N/A), battery voltage: -123456789.00 volts (N/A)
Did not receive valid response from server.
raw_wifi=-123456789.0, type(<class 'float'>)
zone: 9, name: 9, temp: -123456789.0, wifi strength: -123456789.0 dBm (N/A), battery voltage: -123456789.00 volts (ok)
cjkrolak commented 10 months ago

this is a valid state for blink doorbell (on hardwire power?), battery_voltage=None, battery='ok'. No code changes needed.