mirror of
https://github.com/XiaoMi/ha_xiaomi_home.git
synced 2026-01-15 05:50:43 +08:00
fix: pylint too long line.
This commit is contained in:
parent
bd37728e1c
commit
76b0e7c02e
@ -137,8 +137,8 @@ class Fan(MIoTServiceEntity, FanEntity):
|
||||
self._prop_fan_level = prop
|
||||
elif (
|
||||
self._prop_fan_level is None
|
||||
# Fan level with value-range is prior to fan level with value-list
|
||||
# when a fan has both fan level properties.
|
||||
# Fan level with value-range is prior to fan level with
|
||||
# value-list when a fan has both fan level properties.
|
||||
and isinstance(prop.value_list, list)
|
||||
and prop.value_list
|
||||
):
|
||||
|
||||
Loading…
Reference in New Issue
Block a user