Add HomeKit humidifier/dehumidifier (#42311)

* add HomeKit humidifier/dehumidifier

* added more test coverage

* simplified char logic

Co-authored-by: Quentame <polletquentin74@me.com>

* use mode constants

* Renamed HomeKit Contorller

Co-authored-by: Quentame <polletquentin74@me.com>

* improved threshold logic

* split up homekit humidifier into 2 entities

* fixed tests

* fixed mode and switch logic

* added set mode tests

* removed redundant methods present in base class

Co-authored-by: Quentame <polletquentin74@me.com>
This commit is contained in:
Austin Drummond 2020-11-14 12:59:13 -05:00 committed by GitHub
parent c6608f7f49
commit d1566bd210
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 638 additions and 0 deletions

View file

@ -25,6 +25,7 @@ HOMEKIT_ACCESSORY_DISPATCH = {
"motion": "binary_sensor",
"carbon-dioxide": "sensor",
"humidity": "sensor",
"humidifier-dehumidifier": "humidifier",
"light": "sensor",
"temperature": "sensor",
"battery": "sensor",