Skip to content

Commit

Permalink
Lublueblu vacuum: dps 1 and 2 have different behaviour
Browse files Browse the repository at this point in the history
Rather than power and activate, these dps are listed in iot.tuya.com as
switch_go and pause.  This appears to be the same as Kabum 700 v2023
vacuums, so use the same pattern.

Issue make-all#2334
  • Loading branch information
make-all committed Sep 28, 2024
1 parent d290343 commit 3c63858
Showing 1 changed file with 25 additions and 2 deletions.
27 changes: 25 additions & 2 deletions custom_components/tuya_local/devices/lublueblu_sl60d_vacuum.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,16 +7,39 @@ primary_entity:
dps:
- id: 1
type: boolean
name: power
name: activate
optional: true
mapping:
- dps_val: false
constraint: pause
conditions:
- dps_val: true
value: false
- dps_val: false
value: false
hidden: true
- dps_val: null
value: false
hidden: true
- dps_val: true
constraint: pause
conditions:
- dps_val: false
value: true
- dps_val: true
value: true
hidden: true
- dps_val: null
value: true
hidden: true
- dps_val: null
value: false
hidden: true
- id: 2
type: boolean
name: activate
optional: true
name: pause
hidden: true
- id: 3
type: boolean
name: charge
Expand Down

0 comments on commit 3c63858

Please sign in to comment.