Add constructor return type in integrations T-Z (#50899)
This commit is contained in:
parent
c650deef98
commit
9eecd90afc
49 changed files with 77 additions and 63 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue