develop-dvs / domoticz-AirHumidifier2

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

New zhimi.humidifier.ca4 model #2

Open krupaw2 opened 3 years ago

krupaw2 commented 3 years ago

Is it possible to add support for the new zhimi.humidifier.ca4 model?

To handle it, need a service miio.airhumidifier_miot instead of miio.airhumidifier

Thanks for your work on the plugin.

develop-dvs commented 3 years ago

iI don't physically have this device, but i'm add simple change :) mb works

krupaw2 commented 3 years ago

It would be too easy :)

'AirHumidifierMiotStatus' object has no attribute 'fault'

m-messiah commented 3 years ago

I could approve, ca4 works as miot. But you also need to change status get as it returned as a struct.

develop-dvs commented 2 years ago

need test! update miio and plugin from repo