fix: pylint too long line.

This commit is contained in:
LiShuzhen 2025-01-06 11:53:42 +08:00
parent bd37728e1c
commit 76b0e7c02e

View File

@ -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
):