Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Kogan Air Purifier to device list #859

Merged
merged 4 commits into from
Jul 7, 2023
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
30 changes: 15 additions & 15 deletions custom_components/tuya_local/devices/kogan_air_purifier
Original file line number Diff line number Diff line change
Expand Up @@ -14,14 +14,14 @@ primary_entity:
name: preset_mode
mapping:
- dps_val: 1
value: "Sleep"
value: "sleep"
- dps_val: 2
value: "High"
value: "strong"
- dps_val: 3
value: "Auto"
value: "smart"
secondary_entities:
- entity: sensor
name: Filter Remaining
name: Filter remaining
icon: "mdi:shield-bug"
dps:
- id: 5
Expand All @@ -40,11 +40,11 @@ secondary_entities:
- dps_val: cancle
value: "OFF"
- dps_val: 1
value: "Low"
value: "low"
madchuska marked this conversation as resolved.
Show resolved Hide resolved
- dps_val: 2
value: "High"
value: "high"
- entity: button
name: Filter Reset
name: Filter reset
category: config
class: restart
dps:
Expand All @@ -61,13 +61,13 @@ secondary_entities:
name: option
mapping:
- dps_val: 1
value: "OFF"
value: "off"
- dps_val: 2
value: "4 hour"
value: "4 hours"
- dps_val: 3
value: "8 hours"
- entity: sensor
name: Timer Remaining
name: Timer remaining
class: duration
icon: "mdi:timer"
dps:
Expand All @@ -76,7 +76,7 @@ secondary_entities:
type: integer
unit: min
- entity: sensor
name: Air Quality
name: Air quality
class: enum
icon: "mdi:air-filter"
dps:
Expand All @@ -85,10 +85,10 @@ secondary_entities:
type: string
mapping:
- dps_val: 1
value: "Good"
value: "good"
madchuska marked this conversation as resolved.
Show resolved Hide resolved
- dps_val: 2
value: "Normal"
value: "normal"
- dps_val: 3
value: "Poor"
value: "poor"
- dps_val: 4
value: "Severe"
value: "severe"