@@ -43,37 +43,37 @@ class OneGangShutter1(CustomDevice):
43
43
# output_clusters=[25]>
44
44
5 : {
45
45
PROFILE_ID : zha .PROFILE_ID ,
46
- DEVICE_TYPE : zha .DeviceType .WINDOW_COVERING_DEVICE , # 0x0202
46
+ DEVICE_TYPE : zha .DeviceType .WINDOW_COVERING_DEVICE ,
47
47
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 ,
54
54
],
55
- OUTPUT_CLUSTERS : [Ota .cluster_id ], # 0x0019
55
+ OUTPUT_CLUSTERS : [Ota .cluster_id ],
56
56
},
57
57
# <SimpleDescriptor endpoint=21, profile=260, device_type=260,
58
58
# device_version=0,
59
59
# input_clusters=[0, 3, 2821, 65303],
60
60
# output_clusters=[3, 5, 6, 8, 25, 258]>
61
61
21 : {
62
62
PROFILE_ID : zha .PROFILE_ID ,
63
- DEVICE_TYPE : zha .DeviceType .DIMMER_SWITCH , # 0x0104
63
+ DEVICE_TYPE : zha .DeviceType .DIMMER_SWITCH ,
64
64
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 ,
69
69
],
70
70
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 ,
77
77
],
78
78
},
79
79
},
@@ -83,33 +83,33 @@ class OneGangShutter1(CustomDevice):
83
83
ENDPOINTS : {
84
84
5 : {
85
85
PROFILE_ID : zha .PROFILE_ID ,
86
- DEVICE_TYPE : zha .DeviceType .WINDOW_COVERING_DEVICE , # 0x0202
86
+ DEVICE_TYPE : zha .DeviceType .WINDOW_COVERING_DEVICE ,
87
87
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 ,
94
94
],
95
- OUTPUT_CLUSTERS : [Ota .cluster_id ], # 0x0019
95
+ OUTPUT_CLUSTERS : [Ota .cluster_id ],
96
96
},
97
97
21 : {
98
98
PROFILE_ID : zha .PROFILE_ID ,
99
- DEVICE_TYPE : zha .DeviceType .DIMMER_SWITCH , # 0x0104
99
+ DEVICE_TYPE : zha .DeviceType .DIMMER_SWITCH ,
100
100
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 ,
105
105
],
106
106
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 ,
113
113
],
114
114
},
115
115
}
0 commit comments