fixing hound violations
This commit is contained in:
1 parent
6cfc1b6af8
commit
e61c1ffbc2
1 file changed
+1
-1
@@ -277,7 +277,7 @@ class MqttCover(CoverDevice):
|
||||
if ATTR_TILT_POSITION in kwargs:
|
||||
position = float(kwargs[ATTR_TILT_POSITION])
|
||||
|
||||
#The position needs to be between min and max
|
||||
# The position needs to be between min and max
|
||||
tilt_range = self._tilt_max - self._tilt_min
|
||||
percentage = position / 100.0
|
||||
level = round(tilt_range * percentage)
|
||||
|
||||
Reference in new issue
Block a user