Skip to content

Commit

Permalink
Really fix linting errors 🙄
Browse files Browse the repository at this point in the history
  • Loading branch information
ylabonte committed Jun 30, 2023
1 parent 22a588c commit 6a0cbbf
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion custom_components/proconip_pool_controller/number.py
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down
2 changes: 1 addition & 1 deletion custom_components/proconip_pool_controller/select.py
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit 6a0cbbf

Please sign in to comment.