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

@ -46,7 +46,7 @@ async def async_setup_entry(hass: HomeAssistant, config_entry, async_add_entitie
class SmartPlugSwitch(SwitchEntity):
"""Representation of a TPLink Smart Plug switch."""
def __init__(self, smartplug: SmartPlug):
def __init__(self, smartplug: SmartPlug) -> None:
"""Initialize the switch."""
self.smartplug = smartplug
self._sysinfo = None