Skip to content

Commit

Permalink
Fix implicit device name in wiz switch (#101914)
Browse files Browse the repository at this point in the history
  • Loading branch information
bdraco authored and frenck committed Oct 13, 2023
1 parent e17a25c commit 2fac26c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions homeassistant/components/wiz/switch.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 2fac26c

Please sign in to comment.