44
55from zigpy import types as t
66from zigpy .quirks .v2 import QuirkBuilder
7- from zigpy .quirks .v2 .homeassistant import EntityType , UnitOfTime
7+ from zigpy .quirks .v2 .homeassistant import UnitOfTime
88from zigpy .zcl .clusters .closures import WindowCovering
99from zigpy .zcl .foundation import BaseAttributeDefs , ZCLAttributeDef
1010
@@ -146,6 +146,7 @@ class BoschWindowCovering(CustomCluster, WindowCovering):
146146 max_value = 90 ,
147147 step = 0.1 ,
148148 unit = UnitOfTime .SECONDS ,
149+ mode = "box" ,
149150 multiplier = 0.1 ,
150151 translation_key = "closing_duration" ,
151152 fallback_name = "Closing duration" ,
@@ -157,6 +158,7 @@ class BoschWindowCovering(CustomCluster, WindowCovering):
157158 max_value = 90 ,
158159 step = 0.1 ,
159160 unit = UnitOfTime .SECONDS ,
161+ mode = "box" ,
160162 multiplier = 0.1 ,
161163 translation_key = "opening_duration" ,
162164 fallback_name = "Opening duration" ,
@@ -168,6 +170,7 @@ class BoschWindowCovering(CustomCluster, WindowCovering):
168170 max_value = 2 ,
169171 step = 0.1 ,
170172 unit = UnitOfTime .SECONDS ,
173+ mode = "box" ,
171174 multiplier = 0.1 ,
172175 translation_key = "long_press_duration" ,
173176 fallback_name = "Long press duration" ,
@@ -179,6 +182,7 @@ class BoschWindowCovering(CustomCluster, WindowCovering):
179182 max_value = 20 ,
180183 step = 0.1 ,
181184 unit = UnitOfTime .SECONDS ,
185+ mode = "box" ,
182186 multiplier = 0.1 ,
183187 translation_key = "motor_start_delay" ,
184188 fallback_name = "Motor start delay" ,
0 commit comments