From 6a0cbbfd3343d73309c56bcf084f0790199bf335 Mon Sep 17 00:00:00 2001 From: Yannic Labonte Date: Fri, 30 Jun 2023 02:17:48 +0200 Subject: [PATCH] =?UTF-8?q?Really=20fix=20linting=20errors=20=F0=9F=99=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- custom_components/proconip_pool_controller/number.py | 2 +- custom_components/proconip_pool_controller/select.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/custom_components/proconip_pool_controller/number.py b/custom_components/proconip_pool_controller/number.py index 7c2c067..00874e3 100644 --- a/custom_components/proconip_pool_controller/number.py +++ b/custom_components/proconip_pool_controller/number.py @@ -58,7 +58,7 @@ def __init__( @property def icon(self) -> str | None: - """Return icon depending on current state""" + """Return icon depending on current state.""" return ( "mdi:toggle-switch-variant" if self.coordinator.data.get_relay(self._relay_id).is_on() diff --git a/custom_components/proconip_pool_controller/select.py b/custom_components/proconip_pool_controller/select.py index c03e7af..379bd40 100644 --- a/custom_components/proconip_pool_controller/select.py +++ b/custom_components/proconip_pool_controller/select.py @@ -55,7 +55,7 @@ def __init__( @property def icon(self) -> str | None: - """Return icon depending on current option/state""" + """Return icon depending on current option/state.""" return ( "mdi:toggle-switch-variant" if self.coordinator.data.get_relay(self._relay_id).is_on()