mirror of
https://github.com/home-assistant/core.git
synced 2025-07-23 05:07:41 +00:00
Create a unique_id for velux cover (#34668)
This commit is contained in:
parent
b6292d7c77
commit
b85bd2cb99
@ -46,6 +46,11 @@ class VeluxCover(CoverEntity):
|
||||
"""Store register state change callback."""
|
||||
self.async_register_callbacks()
|
||||
|
||||
@property
|
||||
def unique_id(self):
|
||||
"""Return the unique ID of this cover."""
|
||||
return self.node.serial_number
|
||||
|
||||
@property
|
||||
def name(self):
|
||||
"""Return the name of the Velux device."""
|
||||
|
@ -2,6 +2,6 @@
|
||||
"domain": "velux",
|
||||
"name": "Velux",
|
||||
"documentation": "https://www.home-assistant.io/integrations/velux",
|
||||
"requirements": ["pyvlx==0.2.12"],
|
||||
"requirements": ["pyvlx==0.2.14"],
|
||||
"codeowners": ["@Julius2342"]
|
||||
}
|
||||
|
@ -1756,7 +1756,7 @@ pyvesync==1.1.0
|
||||
pyvizio==0.1.47
|
||||
|
||||
# homeassistant.components.velux
|
||||
pyvlx==0.2.12
|
||||
pyvlx==0.2.14
|
||||
|
||||
# homeassistant.components.html5
|
||||
pywebpush==1.9.2
|
||||
|
Loading…
x
Reference in New Issue
Block a user