Skip to content

Commit

Permalink
TOMPD 63LW: add compatibility with TOMPD 63WIFI
Browse files Browse the repository at this point in the history
  • Loading branch information
make-all committed Dec 8, 2024
1 parent b96f188 commit b0481d6
Showing 1 changed file with 29 additions and 3 deletions.
32 changes: 29 additions & 3 deletions custom_components/tuya_local/devices/tompd_63lw_breaker.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,14 @@ products:
name: TOMPD-63LW
- id: psjg8ldomxnelfp5
name: TOMZN-63A
- id: wcihaluccfsoayqa
name: TOMPD-63WIFI
primary_entity:
entity: switch
dps:
- id: 16
name: switch
icon: "mdi:fuse"
type: boolean
- id: 17
name: alarm_set_1
Expand Down Expand Up @@ -111,7 +114,6 @@ secondary_entities:
mapping:
- scale: 100
- entity: sensor
name: Voltage A
class: voltage
category: diagnostic
dps:
Expand All @@ -124,7 +126,6 @@ secondary_entities:
mapping:
- scale: 10
- entity: sensor
name: Current A
class: current
category: diagnostic
dps:
Expand All @@ -137,7 +138,6 @@ secondary_entities:
mapping:
- scale: 1000
- entity: sensor
name: Power A
class: power
category: diagnostic
dps:
Expand Down Expand Up @@ -167,3 +167,29 @@ secondary_entities:
type: bitfield
name: fault_code
optional: true
- entity: number
name: Voltage protection time
category: config
icon: "mdi:timer"
dps:
- id: 104
type: integer
optional: true
name: value
unit: s
range:
min: 1
max: 30
- entity: number
name: Voltage recovery time
category: config
icon: "mdi:timer"
dps:
- id: 105
type: integer
optional: true
name: value
unit: s
range:
min: 1
max: 500

0 comments on commit b0481d6

Please sign in to comment.