-
Notifications
You must be signed in to change notification settings - Fork 505
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add Kogan Air Purifier to device list
Add support for Kogan Air Purifier All functions tested and working
- Loading branch information
Showing
1 changed file
with
94 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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" |