Skip to content

Commit

Permalink
V330L pet feeder: add missing dps
Browse files Browse the repository at this point in the history
- Add camera
- Add additional attributes for non-useful data.

Issue #2027
  • Loading branch information
make-all committed Jun 23, 2024
1 parent a878384 commit 0f713d2
Show file tree
Hide file tree
Showing 3 changed files with 44 additions and 1 deletion.
1 change: 1 addition & 0 deletions ACKNOWLEDGEMENTS.md
Original file line number Diff line number Diff line change
Expand Up @@ -575,3 +575,4 @@ Further device support has been made with the assistance of users. Please consid
- [gy6221](https://github.com/gy6221) for contributing improvements to Atorch SW1P switches.
- [opolczer](https://github.com/opolczer) for assisting with support for KY 35W-10 shutter controllers and Fisher air to water heat pump.
- [jannisan](https://github.com/jannisan) for contributing support for Divoo DWV010 dual water timers.
- [pergolafabio](https://github.com/pergolafabio) for contributing support for V330 pet feeders.
1 change: 1 addition & 0 deletions DEVICES.md
Original file line number Diff line number Diff line change
Expand Up @@ -648,6 +648,7 @@ port and password.
- Petoneer Fresco Hydrate Ultra pet fountain/
- PNI water feeder
- Rojeco PTM-001 pet feeder (two versions)
- V330L pet feeder
- YP pet feeder

### Remote controllers
Expand Down
43 changes: 42 additions & 1 deletion custom_components/tuya_local/devices/v330l_petfeeder.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,32 @@ primary_entity:
range:
min: 0
max: 10
- id: 202
type: integer
name: food_weight
optional: true
mapping:
- scale: 10
- id: 203
type: integer
name: control
optional: true
- id: 204
type: integer
name: realtime_data
optional: true
- id: 205
type: integer
name: weight
optional: true
- id: 207
type: string
name: schedule
optional: true
- id: 208
type: string
name: voice_record
optional: true
secondary_entities:
- entity: light
translation_key: indicator
Expand Down Expand Up @@ -120,6 +146,21 @@ secondary_entities:
name: sensor
optional: true
mapping:
- dps_val: 3
- dps_val: 4
value: true
- value: false
- entity: camera
dps:
- id: 113
type: boolean
optional: true
name: record
mapping:
- dps_val: null
value: false
hidden: true
- id: 115
type: base64
name: snapshot
optional: true
sensitive: true

0 comments on commit 0f713d2

Please sign in to comment.