Skip to content

Commit

Permalink
TTEC vacuum: add separate buttons for first three dps
Browse files Browse the repository at this point in the history
Leave the 1/2 combo for activate, but remove dp 3 as power, as this is
for sending the vacuum to charge.

Add the separate buttons in case the vacuum interface is not able to control
it (eg device does not like two commands sent at once).

Based on comment in #1393 about a similar vacuum with 3 booleans for power_go,
pause and switch_charge
  • Loading branch information
make-all committed Jan 27, 2024
1 parent de6d0e6 commit 40e13b8
Showing 1 changed file with 21 additions and 8 deletions.
29 changes: 21 additions & 8 deletions custom_components/tuya_local/devices/ttec_reobipro_vacuum.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,6 @@ products:
primary_entity:
entity: vacuum
dps:
- id: 3
type: boolean
name: power
optional: true
mapping:
- dps_val: null
value: false
hidden: true
- id: 1
type: boolean
name: activate
Expand Down Expand Up @@ -162,6 +154,27 @@ primary_entity:
optional: true
name: voice_data
secondary_entities:
- entity: button
name: Start
category: config
dps:
- id: 1
type: boolean
name: button
- entity: button
name: Pause
category: config
dps:
- id: 2
type: boolean
name: button
- entity: button
name: Dock
category: config
dps:
- id: 3
type: boolean
name: button
- entity: sensor
name: Cleaning time
class: duration
Expand Down

0 comments on commit 40e13b8

Please sign in to comment.