tuya / tuya-homebridge

Homebridge custom plugin for controlling Powered by Tuya (PBT) devices in HomeKit. This plugin is officially maintained by the Tuya Developer Team.
MIT License
345 stars 178 forks source link

Added support for dehumidifier ("cs") #328

Closed jukben closed 1 year ago

jukben commented 1 year ago

Tested on Tesla Smart Dehumidifier XL

Supports setting dehumidifier value (with fallback to supported values), child lock, turning on/off, and reports current humidity. The code is super hacked together. I don't hold high hopes that this will get merged any time soon (you know, open source 🫡), but it might be helpful for someone like me.

I tried to stay consistent with the codebase and style.

Screens ![IMG_9841](https://user-images.githubusercontent.com/8135252/205385709-76863955-21e1-4b5b-8042-1d02691c18cd.PNG) ![IMG_9840](https://user-images.githubusercontent.com/8135252/205385719-b4e42c5e-bd2d-4cbc-8e27-1950a0827f60.PNG)