Skip to content

Commit

Permalink
Add Kogan Air Purifier to device list
Browse files Browse the repository at this point in the history
Add support for Kogan Air Purifier
All functions tested and working
  • Loading branch information
madchuska authored Jul 1, 2023
1 parent ec5e434 commit a5e1a24
Showing 1 changed file with 94 additions and 0 deletions.
94 changes: 94 additions & 0 deletions custom_components/tuya_local/devices/kogan_air_purifier
Original file line number Diff line number Diff line change
@@ -0,0 +1,94 @@
name: Kogan Air Purifier
products:
- id: 5cum0gfsx8rhpvvl
name: Kogan Air Purifier KAIRPRFR2SA
primary_entity:
entity: fan
translation_key: fan_with_presets
dps:
- id: 1
type: boolean
name: switch
- id: 4
type: string
name: preset_mode
mapping:
- dps_val: 1
value: "Sleep"
- dps_val: 2
value: "High"
- dps_val: 3
value: "Auto"
secondary_entities:
- entity: sensor
name: Filter Remaining
icon: "mdi:shield-bug"
dps:
- id: 5
name: sensor
type: integer
unit: "%"
- entity: select
name: Light
category: config
icon: "mdi:lightbulb"
dps:
- id: 101
type: string
name: option
mapping:
- dps_val: cancle
value: "OFF"
- dps_val: 1
value: "Low"
- dps_val: 2
value: "High"
- entity: button
name: Filter Reset
category: config
class: restart
dps:
- id: 11
type: boolean
name: button
- entity: select
name: Timer
category: config
icon: "mdi:timer"
dps:
- id: 19
type: string
name: option
mapping:
- dps_val: 1
value: "OFF"
- dps_val: 2
value: "4 hour"
- dps_val: 3
value: "8 hours"
- entity: sensor
name: Timer Remaining
class: duration
icon: "mdi:timer"
dps:
- id: 20
name: sensor
type: integer
unit: min
- entity: sensor
name: Air Quality
class: enum
icon: "mdi:air-filter"
dps:
- id: 22
name: sensor
type: string
mapping:
- dps_val: 1
value: "Good"
- dps_val: 2
value: "Normal"
- dps_val: 3
value: "Poor"
- dps_val: 4
value: "Severe"

0 comments on commit a5e1a24

Please sign in to comment.