Skip to content

Commit

Permalink
Add support for Tesla Smart dehumidifier
Browse files Browse the repository at this point in the history
Issue #1210
  • Loading branch information
make-all committed Dec 3, 2023
1 parent f3c53eb commit 6ba286f
Show file tree
Hide file tree
Showing 3 changed files with 67 additions and 0 deletions.
1 change: 1 addition & 0 deletions ACKNOWLEDGEMENTS.md
Original file line number Diff line number Diff line change
Expand Up @@ -414,3 +414,4 @@ Further device support has been made with the assistance of users. Please consi
- [patoh](https://github.com/patoh) for contributing support for Breville Smart Dry Connect dehumidifiers.
- [Cadish](https://github.com/Cadish) for assisting with support for Qlima D820A dehumidifiers.
- [mellow8](https://github.com/mellow8) for assisting with support for ZM-Wi-Fi smart meters.
- [KodzghlyCZ](https://github.com/KodzghlyCZ) for assisting with support for Tesla Smart humidifiers.
1 change: 1 addition & 0 deletions DEVICES.md
Original file line number Diff line number Diff line change
Expand Up @@ -238,6 +238,7 @@
- Kyvol EA200 humidifier
- Stadler Eva humidifier
- Stadler Form Karl/Karl Big humidifier
- Tesla Smart humidifier
- Wetair WAW-H1210LW humidifier
- Wilfa Haze HU400BC humidifier

Expand Down
65 changes: 65 additions & 0 deletions custom_components/tuya_local/devices/tesla_humidifier.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,65 @@
name: Humidifier
products:
- id: noj5c7qq3znq8j6e
name: Tesla Smart humidifier
primary_entity:
entity: fan
name: Humidifier
icon: "mdi:sprinkler-variant"
dps:
- id: 1
type: boolean
name: switch
- id: 23
type: string
name: speed
mapping:
- dps_val: L
value: 33
- dps_val: M
value: 67
- dps_val: H
value: 100
secondary_entities:
- entity: light
dps:
- id: 5
type: boolean
name: switch
- entity: select
name: Timer
icon: "mdi:timer"
category: config
dps:
- id: 19
type: string
name: option
mapping:
- dps_val: cancel
value: "Off"
- dps_val: "1h"
value: "1 hour"
- dps_val: "4h"
value: "4 hours"
- entity: sensor
name: Time remaining
class: duration
category: diagnostic
dps:
- id: 20
type: integer
name: sensor
unit: min
class: measurement
- entity: binary_sensor
name: Fault
class: problem
category: diagnostic
dps:
- id: 22
type: bitfield
name: sensor
mapping:
- dps_val: 0
value: false
- value: true

0 comments on commit 6ba286f

Please sign in to comment.