Skip to content

Commit

Permalink
- linting
Browse files Browse the repository at this point in the history
  • Loading branch information
agittins committed Nov 14, 2024
1 parent 2bfdcaa commit 6dd7d2a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion custom_components/bermuda/entity.py
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ def _handle_coordinator_update(self) -> None:
"""
self.async_write_ha_state()

def _cached_ratelimit(self, statevalue: Any, interval:int|None=None):
def _cached_ratelimit(self, statevalue: Any, interval: int | None = None):
"""A simple way to rate-limit sensor updates."""
if interval is not None:
self._cache_ratelimit_interval = interval
Expand Down

0 comments on commit 6dd7d2a

Please sign in to comment.