Skip to content

Commit

Permalink
 fix ruff errors
Browse files Browse the repository at this point in the history
  • Loading branch information
CyrilP committed Oct 31, 2023
1 parent cac989c commit 37d9ec9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion custom_components/deltadore-tydom/cover.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,4 @@ async def async_setup_entry(
) -> None:
"""Add cover for passed config_entry in HA."""
hub = hass.data[DOMAIN][config_entry.entry_id]
hub.add_cover_callback = async_add_entities
hub.add_cover_callback = async_add_entities
2 changes: 1 addition & 1 deletion custom_components/deltadore-tydom/ha_entities.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@
from .const import DOMAIN, LOGGER

class HAEntity:

"""Generic abstract HA entity."""
sensor_classes = {}
state_classes = {}
units = {}
Expand Down

0 comments on commit 37d9ec9

Please sign in to comment.