Fix implicit device name in wiz switch (#101914)

This commit is contained in:
J. Nick Koston
2023-10-13 11:17:30 +02:00
committed by Franck Nijhof
parent e17a25ca4a
commit 2fac26c6c6
+2
View File
@@ -30,6 +30,8 @@ async def async_setup_entry(
class WizSocketEntity(WizToggleEntity, SwitchEntity):
"""Representation of a WiZ socket."""
_attr_name = None
def __init__(self, wiz_data: WizData, name: str) -> None:
"""Initialize a WiZ socket."""
super().__init__(wiz_data, name)