Skip to content

Commit

Permalink
Fix implicit use of device name in TPLink switch (home-assistant#97293)
Browse files Browse the repository at this point in the history
  • Loading branch information
frenck authored Jul 27, 2023
1 parent 265fe51 commit c2bbb0b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions homeassistant/components/tplink/switch.py
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,8 @@ def is_on(self) -> bool:
class SmartPlugSwitch(CoordinatedTPLinkEntity, SwitchEntity):
"""Representation of a TPLink Smart Plug switch."""

_attr_name = None

def __init__(
self,
device: SmartDevice,
Expand Down

0 comments on commit c2bbb0b

Please sign in to comment.