From 5f91bdcfc5b11d184d4f30cd6b9cfaf36314dd85 Mon Sep 17 00:00:00 2001 From: "J. Nick Koston" Date: Thu, 12 Oct 2023 23:05:25 -1000 Subject: [PATCH] Fix implicit device name in wiz switch (#101914) --- homeassistant/components/wiz/switch.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/homeassistant/components/wiz/switch.py b/homeassistant/components/wiz/switch.py index ffe75910b40..1bebaba7579 100644 --- a/homeassistant/components/wiz/switch.py +++ b/homeassistant/components/wiz/switch.py @@ -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)