mirror of
https://github.com/home-assistant/core.git
synced 2025-07-23 13:17:32 +00:00
UPB explicit device name (#96042)
This commit is contained in:
parent
3fe180d55c
commit
7026ffe0a3
@ -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."""
|
||||
|
@ -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."""
|
||||
|
Loading…
x
Reference in New Issue
Block a user