Skip to content

Commit 9843db2

Browse files
cspurkdflemstr
authored andcommitted
Remove superfluous cluster ID comments
This was requested here: <zigpy#2928 (comment)>
1 parent d8dcf86 commit 9843db2

File tree

1 file changed

+38
-38
lines changed

1 file changed

+38
-38
lines changed

zhaquirks/schneiderelectric/shutters.py

Lines changed: 38 additions & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -43,37 +43,37 @@ class OneGangShutter1(CustomDevice):
4343
# output_clusters=[25]>
4444
5: {
4545
PROFILE_ID: zha.PROFILE_ID,
46-
DEVICE_TYPE: zha.DeviceType.WINDOW_COVERING_DEVICE, # 0x0202
46+
DEVICE_TYPE: zha.DeviceType.WINDOW_COVERING_DEVICE,
4747
INPUT_CLUSTERS: [
48-
Basic.cluster_id, # 0x0000
49-
Identify.cluster_id, # 0x0003
50-
Groups.cluster_id, # 0x0004
51-
Scenes.cluster_id, # 0x0005
52-
WindowCovering.cluster_id, # 0x0102
53-
Diagnostic.cluster_id, # 0x0B05
48+
Basic.cluster_id,
49+
Identify.cluster_id,
50+
Groups.cluster_id,
51+
Scenes.cluster_id,
52+
WindowCovering.cluster_id,
53+
Diagnostic.cluster_id,
5454
],
55-
OUTPUT_CLUSTERS: [Ota.cluster_id], # 0x0019
55+
OUTPUT_CLUSTERS: [Ota.cluster_id],
5656
},
5757
# <SimpleDescriptor endpoint=21, profile=260, device_type=260,
5858
# device_version=0,
5959
# input_clusters=[0, 3, 2821, 65303],
6060
# output_clusters=[3, 5, 6, 8, 25, 258]>
6161
21: {
6262
PROFILE_ID: zha.PROFILE_ID,
63-
DEVICE_TYPE: zha.DeviceType.DIMMER_SWITCH, # 0x0104
63+
DEVICE_TYPE: zha.DeviceType.DIMMER_SWITCH,
6464
INPUT_CLUSTERS: [
65-
Basic.cluster_id, # 0x0000
66-
Identify.cluster_id, # 0x0003
67-
Diagnostic.cluster_id, # 0x0B05
68-
SESpecific.cluster_id, # 0xFF17
65+
Basic.cluster_id,
66+
Identify.cluster_id,
67+
Diagnostic.cluster_id,
68+
SESpecific.cluster_id,
6969
],
7070
OUTPUT_CLUSTERS: [
71-
Identify.cluster_id, # 0x0003
72-
Scenes.cluster_id, # 0x0005
73-
OnOff.cluster_id, # 0x0006
74-
LevelControl.cluster_id, # 0x0008
75-
Ota.cluster_id, # 0x0019
76-
WindowCovering.cluster_id, # 0x0102
71+
Identify.cluster_id,
72+
Scenes.cluster_id,
73+
OnOff.cluster_id,
74+
LevelControl.cluster_id,
75+
Ota.cluster_id,
76+
WindowCovering.cluster_id,
7777
],
7878
},
7979
},
@@ -83,33 +83,33 @@ class OneGangShutter1(CustomDevice):
8383
ENDPOINTS: {
8484
5: {
8585
PROFILE_ID: zha.PROFILE_ID,
86-
DEVICE_TYPE: zha.DeviceType.WINDOW_COVERING_DEVICE, # 0x0202
86+
DEVICE_TYPE: zha.DeviceType.WINDOW_COVERING_DEVICE,
8787
INPUT_CLUSTERS: [
88-
SEBasic, # 0x0000
89-
Identify.cluster_id, # 0x0003
90-
Groups.cluster_id, # 0x0004
91-
Scenes.cluster_id, # 0x0005
92-
SEWindowCovering, # 0x0102
93-
Diagnostic.cluster_id, # 0x0B05
88+
SEBasic,
89+
Identify.cluster_id,
90+
Groups.cluster_id,
91+
Scenes.cluster_id,
92+
SEWindowCovering,
93+
Diagnostic.cluster_id,
9494
],
95-
OUTPUT_CLUSTERS: [Ota.cluster_id], # 0x0019
95+
OUTPUT_CLUSTERS: [Ota.cluster_id],
9696
},
9797
21: {
9898
PROFILE_ID: zha.PROFILE_ID,
99-
DEVICE_TYPE: zha.DeviceType.DIMMER_SWITCH, # 0x0104
99+
DEVICE_TYPE: zha.DeviceType.DIMMER_SWITCH,
100100
INPUT_CLUSTERS: [
101-
SEBasic, # 0x0000
102-
Identify.cluster_id, # 0x0003
103-
Diagnostic.cluster_id, # 0x0B05
104-
SESpecific, # 0xff17
101+
SEBasic,
102+
Identify.cluster_id,
103+
Diagnostic.cluster_id,
104+
SESpecific,
105105
],
106106
OUTPUT_CLUSTERS: [
107-
Identify.cluster_id, # 0x0003
108-
Scenes.cluster_id, # 0x0005
109-
OnOff.cluster_id, # 0x0006
110-
LevelControl.cluster_id, # 0x0008
111-
Ota.cluster_id, # 0x0019
112-
SEWindowCovering, # 0x0102
107+
Identify.cluster_id,
108+
Scenes.cluster_id,
109+
OnOff.cluster_id,
110+
LevelControl.cluster_id,
111+
Ota.cluster_id,
112+
SEWindowCovering,
113113
],
114114
},
115115
}

0 commit comments

Comments
 (0)