develop-dvs / domoticz-AirHumidifier2

Domoticz plugin for Xiaomi Humidifier 1 and 2
MIT License
2 stars 3 forks source link

Update ca4 status get #4

Closed m-messiah closed 3 years ago

m-messiah commented 3 years ago

As commented in https://github.com/develop-dvs/domoticz-AirHumidifier2/issues/2 - status get does not work for zhimi.humidifier.ca4 because of different struct type and shifted indexes.

This change treats status as a struct and working. Probably needs to be updated for all models, but I have not got them and could not test them.