Skip to content

Commit

Permalink
Lefant N3: rename work_mode back to command
Browse files Browse the repository at this point in the history
I had some back and forwards about including the switch_charge dp
in with commands, and which neeeded to be the primary, then forgot to
rename work_mode back to command when I returned back to that as primary.

Mark dp 2 as optional to help detection.

Issue #1393
  • Loading branch information
make-all committed Jan 29, 2024
1 parent c67099f commit 2fef921
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion custom_components/tuya_local/devices/lefant_n3_vacuum.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ primary_entity:
- id: 2
name: activate
type: boolean
optional: true
mapping:
- dps_val: true
value: false
Expand All @@ -24,7 +25,7 @@ primary_entity:
optional: true
hidden: true
- id: 4
name: work_mode
name: command
type: string
optional: true
mapping:
Expand Down

0 comments on commit 2fef921

Please sign in to comment.