forked from make-all/tuya-local
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add support for Petoneer Fresco EzGo pet fountain (WF005)
Fixes make-all#2878, except for scheduling, which will require some custom code.
- Loading branch information
Showing
1 changed file
with
124 additions
and
0 deletions.
There are no files selected for viewing
124 changes: 124 additions & 0 deletions
124
custom_components/tuya_local/devices/petoneer_fresco_ezgo_petfountain.yaml
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,124 @@ | ||
name: Pet fountain | ||
products: | ||
- id: jfyxbljcu1lz99hg | ||
manufacturer: Petoneer | ||
model: Fresco EzGo | ||
entities: | ||
- entity: switch | ||
icon: "mdi:water-pump" | ||
dps: | ||
- id: 1 | ||
type: boolean | ||
name: switch | ||
- entity: select | ||
name: Mode | ||
category: config | ||
dps: | ||
- id: 2 | ||
type: string | ||
name: option | ||
mapping: | ||
- dps_val: normal | ||
value: normal | ||
- dps_val: smart | ||
value: geyser | ||
- entity: sensor | ||
name: Filter cleaning in | ||
class: duration | ||
category: diagnostic | ||
dps: | ||
- id: 3 | ||
type: integer | ||
name: sensor | ||
unit: d | ||
- entity: sensor | ||
name: Pump cleaning in | ||
class: duration | ||
category: diagnostic | ||
dps: | ||
- id: 4 | ||
type: integer | ||
name: sensor | ||
unit: d | ||
- entity: button | ||
name: Reset filter cleaning timer | ||
category: diagnostic | ||
dps: | ||
- id: 5 | ||
type: boolean | ||
name: button | ||
optional: true | ||
- entity: button | ||
name: Reset pump cleaning timer | ||
category: diagnostic | ||
dps: | ||
- id: 6 | ||
type: boolean | ||
name: button | ||
optional: true | ||
- entity: sensor | ||
name: Water level | ||
class: enum | ||
category: diagnostic | ||
dps: | ||
- id: 9 | ||
name: sensor | ||
type: string | ||
mapping: | ||
- dps_val: "0" | ||
value: "No water" | ||
- dps_val: "1" | ||
value: "OK" | ||
- dps_val: "2" | ||
value: "Low" | ||
- dps_val: "3" | ||
value: "Pump not detected" | ||
- dps_val: "4" | ||
value: "Pump clogged" | ||
- entity: light | ||
class: indicator | ||
category: config | ||
dps: | ||
- id: 12 | ||
type: integer | ||
name: switch | ||
mapping: | ||
- dps_val: 0 | ||
value: false | ||
- dps_val: 1 | ||
value: true | ||
- entity: binary_sensor | ||
name: Error | ||
class: problem | ||
category: diagnostic | ||
dps: | ||
- id: 23 | ||
type: bitfield | ||
name: sensor | ||
mapping: | ||
- dps_val: 0 | ||
value: false | ||
- value: true | ||
- id: 23 | ||
type: bitfield | ||
name: description | ||
mapping: | ||
- dps_val: 0 | ||
value: OK | ||
- dps_val: 1 | ||
value: "Not enough water" | ||
- dps_val: 2 | ||
value: "Filter needs replacement" | ||
- dps_val: 4 | ||
value: "Pump needs cleaning" | ||
- dps_val: 8 | ||
value: "Pump clogged" | ||
- dps_val: 16 | ||
value: "Pump not detected" | ||
- entity: binary_sensor | ||
name: Geyser mode status | ||
category: diagnostic | ||
dps: | ||
- id: 105 | ||
type: boolean | ||
name: sensor |