From c2bbb0b5db25ee375f2bf3e2524403c6bf7998d3 Mon Sep 17 00:00:00 2001 From: Franck Nijhof Date: Thu, 27 Jul 2023 09:22:22 +0200 Subject: [PATCH] Fix implicit use of device name in TPLink switch (#97293) --- homeassistant/components/tplink/switch.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/homeassistant/components/tplink/switch.py b/homeassistant/components/tplink/switch.py index d82308a2e32..6c843246663 100644 --- a/homeassistant/components/tplink/switch.py +++ b/homeassistant/components/tplink/switch.py @@ -84,6 +84,8 @@ class SmartPlugLedSwitch(CoordinatedTPLinkEntity, SwitchEntity): class SmartPlugSwitch(CoordinatedTPLinkEntity, SwitchEntity): """Representation of a TPLink Smart Plug switch.""" + _attr_name = None + def __init__( self, device: SmartDevice,