Add init return type to integrations (#87523)
Add type hints to integrations
This commit is contained in:
parent
ade0d6fcae
commit
bb3e0633a4
78 changed files with 118 additions and 84 deletions
|
@ -106,7 +106,9 @@ class DiscogsSensor(SensorEntity):
|
|||
|
||||
_attr_attribution = "Data provided by Discogs"
|
||||
|
||||
def __init__(self, discogs_data, name, description: SensorEntityDescription):
|
||||
def __init__(
|
||||
self, discogs_data, name, description: SensorEntityDescription
|
||||
) -> None:
|
||||
"""Initialize the Discogs sensor."""
|
||||
self.entity_description = description
|
||||
self._discogs_data = discogs_data
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue