From d1e987fe3b497d714745f42c8d24155e53e35007 Mon Sep 17 00:00:00 2001 From: Jason Rumney Date: Wed, 25 Dec 2024 13:17:38 +0900 Subject: [PATCH] Add support for Qlima D812 dehumidifier Issue #2477 --- ACKNOWLEDGEMENTS.md | 1 + DEVICES.md | 1 + .../devices/qlima_d812_dehumidifier.yaml | 57 +++++++++++++++++++ 3 files changed, 59 insertions(+) create mode 100644 custom_components/tuya_local/devices/qlima_d812_dehumidifier.yaml diff --git a/ACKNOWLEDGEMENTS.md b/ACKNOWLEDGEMENTS.md index 771406f3c9..2f5ad49d11 100644 --- a/ACKNOWLEDGEMENTS.md +++ b/ACKNOWLEDGEMENTS.md @@ -779,3 +779,4 @@ Further device support has been made with the assistance of users. Please consid - [janouskovec](https://github.com/janouskovec) for contributing support for EZAIoT R9Lite thermostat. - [Flo0008](https://github.com/Flo0008) for assisting with support for Sboard III mini Weigand access control interface. - [Kenneth-Audenaert](https://github.com/Kenneth-Audenaert) for contributing support for Aygrochy ventilation duct fan. +- [DutchKillerBee](https://github.com/DutchKillerBee) for assisting with support for Qlima D812 dehumidifier. diff --git a/DEVICES.md b/DEVICES.md index 420c29724c..fde4bfd577 100644 --- a/DEVICES.md +++ b/DEVICES.md @@ -357,6 +357,7 @@ - Luko dehumidifier - MeacoDry Arete Two 10L dehumidifier - Pro Breeze 30L dehumidifier +- Qlima D812 and D820A dehumidifiers - Shinco 30D dehumidifier (also matches Klarstein DryFy Connect) - Siguro SGR DH-F300W dehumidifier - Sygonix Smarter dehumidifier diff --git a/custom_components/tuya_local/devices/qlima_d812_dehumidifier.yaml b/custom_components/tuya_local/devices/qlima_d812_dehumidifier.yaml new file mode 100644 index 0000000000..43152d541b --- /dev/null +++ b/custom_components/tuya_local/devices/qlima_d812_dehumidifier.yaml @@ -0,0 +1,57 @@ +name: Dehumidifier +# products: +# - id: UNKNOWN +# name: Qlima D812 +primary_entity: + entity: humidifier + class: dehumidifier + dps: + - id: 1 + type: boolean + name: switch + - id: 3 + type: string + name: humidity + mapping: + - dps_val: "30" + value: 30 + - dps_val: "40" + value: 40 + - dps_val: "50" + value: 50 +secondary_entities: + - entity: select + translation_key: timer + category: config + dps: + - id: 17 + type: string + name: option + mapping: + - dps_val: cancel + value: cancel + - dps_val: "2h" + value: "2h" + - entity: sensor + translation_key: time_remaining + class: duration + category: diagnostic + dps: + - id: 18 + type: integer + name: sensor + unit: min + - entity: binary_sensor + class: problem + category: diagnostic + dps: + - id: 19 + type: bitfield + name: sensor + mapping: + - dps_val: 0 + value: false + - value: true + - id: 19 + type: bitfield + name: fault_code