From 76b0e7c02e84b9155892ef17a47c10ce3d310873 Mon Sep 17 00:00:00 2001 From: LiShuzhen Date: Mon, 6 Jan 2025 11:53:42 +0800 Subject: [PATCH] fix: pylint too long line. --- custom_components/xiaomi_home/fan.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/custom_components/xiaomi_home/fan.py b/custom_components/xiaomi_home/fan.py index 0ca2bcd..ca1a5c6 100644 --- a/custom_components/xiaomi_home/fan.py +++ b/custom_components/xiaomi_home/fan.py @@ -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 ):