mirror of
https://github.com/home-assistant/core.git
synced 2025-07-09 14:27:07 +00:00
Fix implicit device name in wiz switch (#101914)
This commit is contained in:
parent
fecaf9aa60
commit
5f91bdcfc5
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user