File tree Expand file tree Collapse file tree 1 file changed +6
-8
lines changed Expand file tree Collapse file tree 1 file changed +6
-8
lines changed Original file line number Diff line number Diff line change 1
1
"""Device handler for Bosch RBSH-TRV0-ZB-EU thermostat."""
2
2
3
3
from zigpy .profiles import zha
4
- import zigpy .types as t
5
4
from zigpy .quirks import CustomDevice
6
- from zigpy .zcl . clusters import general , hvac , homeautomation
7
-
5
+ import zigpy .types as t
6
+ from zigpy . zcl . clusters import general , homeautomation , hvac
8
7
from zigpy .zcl .clusters .general import (
9
8
Basic ,
9
+ Groups ,
10
10
Identify ,
11
11
Ota ,
12
12
PollControl ,
13
- Groups ,
14
- Time ,
15
13
PowerConfiguration ,
14
+ Time ,
16
15
ZCLAttributeDef ,
17
16
)
18
- from zigpy .zcl .clusters .hvac import Thermostat , UserInterface
19
17
from zigpy .zcl .clusters .homeautomation import Diagnostic
18
+ from zigpy .zcl .clusters .hvac import Thermostat , UserInterface
20
19
21
20
from zhaquirks import CustomCluster
22
21
from zhaquirks .const import (
@@ -134,8 +133,7 @@ class BoschThermostat(CustomDevice):
134
133
hvac .UserInterface .cluster_id ,
135
134
homeautomation .Diagnostic .cluster_id ,
136
135
],
137
- OUTPUT_CLUSTERS : [general .Ota .cluster_id ,
138
- general .Time .cluster_id ],
136
+ OUTPUT_CLUSTERS : [general .Ota .cluster_id , general .Time .cluster_id ],
139
137
},
140
138
},
141
139
}
You can’t perform that action at this time.
0 commit comments