Skip to content

Commit

Permalink
Merge branch 'main' into nickmcgill-patch-1
Browse files Browse the repository at this point in the history
  • Loading branch information
make-all authored Feb 13, 2025
2 parents df88cd4 + 9cd1432 commit 6fa6aae
Show file tree
Hide file tree
Showing 4 changed files with 57 additions and 27 deletions.
3 changes: 3 additions & 0 deletions custom_components/tuya_local/devices/basic_ir_remote.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ products:
- id: ejv37o6yz9vtxcuo
manufacturer: RightSitu
model: S18 IR
- id: ajdab4oqavd9dkal
manufacturer: Avatto
model: S16
entities:
- entity: remote
dps:
Expand Down
53 changes: 39 additions & 14 deletions custom_components/tuya_local/devices/bcom_intercom_camera.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,11 @@ entities:
type: boolean
optional: true
name: lock
mapping:
- dps_val: true
value: false
- dps_val: false
value: true
- entity: light
translation_key: indicator
category: config
Expand Down Expand Up @@ -90,39 +95,52 @@ entities:
value: "Off"
- dps_val: "2"
value: "On"
- entity: sensor
name: SD capacity
category: diagnostic
dps:
- id: 109
type: string
optional: true
name: sensor
- entity: sensor
name: SD status
class: enum
category: diagnostic
dps:
- id: 110
type: integer
optional: true
name: sensor
mapping:
- dps_val: 1
value: normal
- dps_val: 2
value: error
- dps_val: 3
value: full
- dps_val: 4
value: formatting
- dps_val: 5
value: missing
- id: 109
type: string
optional: true
name: capacity
- entity: button
name: SD format
name: Format SD
category: config
icon: "mdi:micro-sd"
dps:
- id: 111
type: boolean
optional: true
name: button
- entity: sensor
name: SD format state
category: diagnostic
dps:
- id: 117
type: integer
optional: true
name: sensor
name: status
mapping:
- dps_val: 2000
value: Formatting
- dps_val: 2001
value: Format error
- dps_val: 2002
value: Card missing
- dps_val: 2003
value: Card error
- entity: select
name: Recording mode
icon: "mdi:file-video"
Expand Down Expand Up @@ -164,6 +182,8 @@ entities:
mapping:
- dps_val: null
value: null
- dps_val: ""
value: null
- value: ring
- id: 136
type: string
Expand All @@ -176,3 +196,8 @@ entities:
type: boolean
optional: true
name: lock
mapping:
- dps_val: true
value: false
- dps_val: false
value: true
8 changes: 0 additions & 8 deletions custom_components/tuya_local/devices/kanchou_petfountain.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,6 @@ products:
- id: akln8rb04cav403q
manufacturer: Kanchou
entities:
- entity: switch
icon: "mdi:paw"
dps:
- id: 1
type: boolean
optional: true
name: switch
- entity: select
name: Mode
icon: "mdi:paw"
Expand Down Expand Up @@ -121,7 +114,6 @@ entities:
type: integer
name: sensor
unit: mL
class: measurement
- entity: binary_sensor
class: problem
category: diagnostic
Expand Down
20 changes: 15 additions & 5 deletions custom_components/tuya_local/devices/v330l_petfeeder.yaml
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
name: Pet feeder
products:
- id: ibnk6keua0zzc2gr
model: V330
model: V330L
model_id: V330L_AF3V_223A
- id: cjrm04np59ut4pwb
model: V330L-DU4L-VS
model: V330L
model_id: V330L-DU4L-VS
# Needs to be added using the 3.2 protocol
entities:
- entity: number
Expand All @@ -19,6 +21,10 @@ entities:
range:
min: 0
max: 10
mapping:
- dps_val: null
value: 0
hidden: true
- id: 202
type: integer
name: food_weight
Expand Down Expand Up @@ -121,9 +127,13 @@ entities:
name: sensor
optional: true
mapping:
- dps_val: 1
- dps_val: 16777216
value: true
- value: false
- id: 206
type: bitfield
name: raw
optional: true
- entity: binary_sensor
name: Not enough food
class: problem
Expand All @@ -134,7 +144,7 @@ entities:
name: sensor
optional: true
mapping:
- dps_val: 2
- dps_val: 33554432
value: true
- value: false
- entity: binary_sensor
Expand All @@ -147,7 +157,7 @@ entities:
name: sensor
optional: true
mapping:
- dps_val: 4
- dps_val: 67108864
value: true
- value: false
- entity: switch
Expand Down

0 comments on commit 6fa6aae

Please sign in to comment.