Skip to content

Commit dcb30aa

Browse files
authored
Fixed PROFILE_ID issue (#1195)
* Innr SP120 multiplier fix Fix Innr SP120 plug ElectricalMeasurement and Meter cluster multipliers and divisors. * Black code formating * isort + Black * isort * Another isort config try * Fixed PROFILE_ID
1 parent 18da059 commit dcb30aa

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

zhaquirks/innr/innr_sp120_plug.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ class SP120(CustomDevice):
5252
signature = {
5353
ENDPOINTS: {
5454
1: {
55-
PROFILE_ID: 49246,
55+
PROFILE_ID: zll.PROFILE_ID,
5656
DEVICE_TYPE: zll.DeviceType.ON_OFF_PLUGIN_UNIT,
5757
INPUT_CLUSTERS: [
5858
Basic.cluster_id,
@@ -72,7 +72,7 @@ class SP120(CustomDevice):
7272
],
7373
},
7474
2: {
75-
PROFILE_ID: 49246,
75+
PROFILE_ID: zll.PROFILE_ID,
7676
DEVICE_TYPE: 0x1000,
7777
INPUT_CLUSTERS: [
7878
LightLink.cluster_id,
@@ -86,7 +86,7 @@ class SP120(CustomDevice):
8686
replacement = {
8787
ENDPOINTS: {
8888
1: {
89-
PROFILE_ID: 0x0104,
89+
PROFILE_ID: zll.PROFILE_ID,
9090
DEVICE_TYPE: zll.DeviceType.ON_OFF_PLUGIN_UNIT,
9191
INPUT_CLUSTERS: [
9292
Basic.cluster_id,
@@ -106,7 +106,7 @@ class SP120(CustomDevice):
106106
],
107107
},
108108
2: {
109-
PROFILE_ID: 49246,
109+
PROFILE_ID: zll.PROFILE_ID,
110110
DEVICE_TYPE: 0x1000,
111111
INPUT_CLUSTERS: [
112112
LightLink.cluster_id,

0 commit comments

Comments
 (0)