Add constructor return type in integrations T-Z (#50899)

This commit is contained in:
Michael 2021-05-20 17:00:19 +02:00 committed by GitHub
parent c650deef98
commit 9eecd90afc
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
49 changed files with 77 additions and 63 deletions

View file

@ -224,7 +224,7 @@ class SensorTemplate(TemplateEntity, SensorEntity):
device_class: str | None,
attribute_templates: dict[str, template.Template],
unique_id: str | None,
):
) -> None:
"""Initialize the sensor."""
super().__init__(
attribute_templates=attribute_templates,