mirror of
https://github.com/home-assistant/core.git
synced 2025-07-23 13:17:32 +00:00
Fix implicit use of device name in TPLink switch (#97293)
This commit is contained in:
parent
265fe51169
commit
c2bbb0b5db
@ -84,6 +84,8 @@ class SmartPlugLedSwitch(CoordinatedTPLinkEntity, SwitchEntity):
|
|||||||
class SmartPlugSwitch(CoordinatedTPLinkEntity, SwitchEntity):
|
class SmartPlugSwitch(CoordinatedTPLinkEntity, SwitchEntity):
|
||||||
"""Representation of a TPLink Smart Plug switch."""
|
"""Representation of a TPLink Smart Plug switch."""
|
||||||
|
|
||||||
|
_attr_name = None
|
||||||
|
|
||||||
def __init__(
|
def __init__(
|
||||||
self,
|
self,
|
||||||
device: SmartDevice,
|
device: SmartDevice,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user