mirror of
https://github.com/XiaoMi/ha_xiaomi_home.git
synced 2026-01-19 00:20:44 +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
|
self._prop_fan_level = prop
|
||||||
elif (
|
elif (
|
||||||
self._prop_fan_level is None
|
self._prop_fan_level is None
|
||||||
# Fan level with value-range is prior to fan level with value-list
|
# Fan level with value-range is prior to fan level with
|
||||||
# when a fan has both fan level properties.
|
# value-list when a fan has both fan level properties.
|
||||||
and isinstance(prop.value_list, list)
|
and isinstance(prop.value_list, list)
|
||||||
and prop.value_list
|
and prop.value_list
|
||||||
):
|
):
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user