mirror of
https://github.com/home-assistant/core.git
synced 2025-07-23 21:27:38 +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."""
|
"""Store register state change callback."""
|
||||||
self.async_register_callbacks()
|
self.async_register_callbacks()
|
||||||
|
|
||||||
|
@property
|
||||||
|
def unique_id(self):
|
||||||
|
"""Return the unique ID of this cover."""
|
||||||
|
return self.node.serial_number
|
||||||
|
|
||||||
@property
|
@property
|
||||||
def name(self):
|
def name(self):
|
||||||
"""Return the name of the Velux device."""
|
"""Return the name of the Velux device."""
|
||||||
|
@ -2,6 +2,6 @@
|
|||||||
"domain": "velux",
|
"domain": "velux",
|
||||||
"name": "Velux",
|
"name": "Velux",
|
||||||
"documentation": "https://www.home-assistant.io/integrations/velux",
|
"documentation": "https://www.home-assistant.io/integrations/velux",
|
||||||
"requirements": ["pyvlx==0.2.12"],
|
"requirements": ["pyvlx==0.2.14"],
|
||||||
"codeowners": ["@Julius2342"]
|
"codeowners": ["@Julius2342"]
|
||||||
}
|
}
|
||||||
|
@ -1756,7 +1756,7 @@ pyvesync==1.1.0
|
|||||||
pyvizio==0.1.47
|
pyvizio==0.1.47
|
||||||
|
|
||||||
# homeassistant.components.velux
|
# homeassistant.components.velux
|
||||||
pyvlx==0.2.12
|
pyvlx==0.2.14
|
||||||
|
|
||||||
# homeassistant.components.html5
|
# homeassistant.components.html5
|
||||||
pywebpush==1.9.2
|
pywebpush==1.9.2
|
||||||
|
Loading…
x
Reference in New Issue
Block a user