nurikk / zigbee2mqtt-frontend

Zigbee2MQTT frontend
https://www.zigbee2mqtt.io/
GNU General Public License v3.0
250 stars 181 forks source link

SEA802 wrong battery info. #170

Closed SargonofAssyria closed 3 years ago

SargonofAssyria commented 3 years ago

The SEA802 Thermostat displays wrong battery info. It state is 'false' and that translates to 'battery_low' it should be the other way around. 2020-12-02_19-44-50 2020-12-02_19-45-10

nurikk commented 3 years ago

This data comes from buggy converter, do you see "battery_low": "false" it should be "battery_low": false Error comes from this place (and few more)

https://github.com/Koenkk/zigbee-herdsman-converters/blob/6c4bc1a8b867f7bd8c9d3204449274cc4f69435e/converters/fromZigbee.js#L486

Koenkk commented 3 years ago

Fixed