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
|
@ -80,7 +80,7 @@ class RingBinarySensor(RingEntityMixin, BinarySensorEntity):
|
|||
ring,
|
||||
device,
|
||||
description: RingBinarySensorEntityDescription,
|
||||
):
|
||||
) -> None:
|
||||
"""Initialize a sensor for Ring device."""
|
||||
super().__init__(config_entry_id, device)
|
||||
self.entity_description = description
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue