From 7026ffe0a3e6c4d8e92ed3c909d75e46fcfcc970 Mon Sep 17 00:00:00 2001 From: Joost Lekkerkerker Date: Fri, 7 Jul 2023 17:25:58 +0200 Subject: [PATCH] UPB explicit device name (#96042) --- homeassistant/components/upb/light.py | 3 ++- homeassistant/components/upb/scene.py | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/homeassistant/components/upb/light.py b/homeassistant/components/upb/light.py index 47680714d19..4a71789423f 100644 --- a/homeassistant/components/upb/light.py +++ b/homeassistant/components/upb/light.py @@ -49,9 +49,10 @@ async def async_setup_entry( class UpbLight(UpbAttachedEntity, LightEntity): - """Representation of an UPB Light.""" + """Representation of a UPB Light.""" _attr_has_entity_name = True + _attr_name = None def __init__(self, element, unique_id, upb): """Initialize an UpbLight.""" diff --git a/homeassistant/components/upb/scene.py b/homeassistant/components/upb/scene.py index fe6f07199c4..d1272b7a1f6 100644 --- a/homeassistant/components/upb/scene.py +++ b/homeassistant/components/upb/scene.py @@ -47,7 +47,7 @@ async def async_setup_entry( class UpbLink(UpbEntity, Scene): - """Representation of an UPB Link.""" + """Representation of a UPB Link.""" def __init__(self, element, unique_id, upb): """Initialize the base of all UPB devices."""