Add constructor return type in integrations A-D (#50903)

This commit is contained in:
Shay Levy 2021-05-20 18:51:39 +03:00 committed by GitHub
parent b1138b1aab
commit cf228e3fe5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
39 changed files with 54 additions and 46 deletions

View file

@ -77,7 +77,7 @@ def setup_platform(hass, config, add_entities, discovery_info=None):
class AtomeData:
"""Stores data retrieved from Neurio sensor."""
def __init__(self, client: AtomeClient):
def __init__(self, client: AtomeClient) -> None:
"""Initialize the data."""
self.atome_client = client
self._live_power = None