Skip to content

Commit

Permalink
Add suport for KCvents VT-501, Heat Recovery Ventilator
Browse files Browse the repository at this point in the history
  • Loading branch information
perimos committed Nov 3, 2024
1 parent f90004c commit 2bb0cf7
Showing 1 changed file with 153 additions and 0 deletions.
153 changes: 153 additions & 0 deletions custom_components/tuya_local/devices/kcvents_vt501_fan.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,153 @@
name: Heat Recovery Ventilator
products:
- id: 5p0togo3y3yzgp2p
name: KCvents VT-501
primary_entity:
entity: fan
translation_only_key: fan_with_presets
dps:
- id: 1
type: boolean
name: switch
- id: 101
type: boolean
name: speed
default: false
mapping:
- dps_val: true
value: 33
- dps_val: dummy_speed1
value: 66
value_redirect: speed2
- dps_val: dummy_speed2
value: 100
value_redirect: speed3
- dps_val: false
value_redirect: speed2
- id: 102
type: boolean
name: speed2
default: false
mapping:
- dps_val: true
value: 66
- dps_val: false
value_redirect: speed3
hidden: true
- id: 103
type: boolean
name: speed3
default: false
mapping:
- dps_val: true
value: 100
- dps_val: false
value: 0
hidden: true
- id: 105
type: boolean
name: preset_mode
default: false
mapping:
- dps_val: true
value: "Low Humidity"
- dps_val: dummy_mode1
value: "Medium Humidity"
value_redirect: preset_mode1
- dps_val: dummy_mode2
value: "High Humidity"
value_redirect: preset_mode2
- dps_val: dummy_mode3
value: "Fresh Air Mode"
value_redirect: preset_mode3
- dps_val: dummy_mode4
value: "Exhausted Air Mode"
value_redirect: preset_mode4
- dps_val: dummy_mode5
value: "Regenerate Mode"
value_redirect: preset_mode5
- dps_val: false
value_redirect: preset_mode1
- id: 106
type: boolean
name: preset_mode1
default: false
mapping:
- dps_val: true
value: "Medium Humidity"
- dps_val: false
value_redirect: preset_mode2
hidden: true
- id: 107
type: boolean
name: preset_mode2
default: false
mapping:
- dps_val: true
value: "High Humidity"
- dps_val: false
value_redirect: preset_mode3
hidden: true
- id: 111
type: boolean
name: preset_mode3
default: false
mapping:
- dps_val: true
value: "Fresh Air Mode"
- dps_val: false
value_redirect: preset_mode4
hidden: true
- id: 112
type: boolean
name: preset_mode4
default: false
mapping:
- dps_val: true
value: "Exhausted Air Mode"
- dps_val: false
value_redirect: preset_mode5
hidden: true
- id: 113
type: boolean
name: preset_mode5
default: false
mapping:
- dps_val: true
value: "Regenerate Mode"
- dps_val: false
value: NONE
hidden: true
secondary_entities:
- entity: sensor
class: humidity
name: current_humidity
readonly: true
dps:
- id: 108
type: integer
name: sensor
unit: "%"
class: measurement
mapping:
- scale: 10
- entity: sensor
class: temperature
name: current_temperature
readonly: true
dps:
- id: 109
type: integer
name: sensor
unit: C
class: measurement
mapping:
- scale: 10
- entity: switch
name: "sleep mode"
category: config
icon: "mdi:power-sleep"
dps:
- id: 104
type: boolean
name: switch

0 comments on commit 2bb0cf7

Please sign in to comment.