Skip to content

Commit 539c38a

Browse files
committed
Create velux cover unique_id from serial number.
Update to pyvlx==0.2.14.
1 parent 1425e51 commit 539c38a

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

homeassistant/components/velux/cover.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ async def async_added_to_hass(self):
4949
@property
5050
def unique_id(self):
5151
"""Return the unique ID of this cover."""
52-
return f"{DOMAIN}-{self.node.serial_number}-{self.node.node_id}"
52+
return f"{DOMAIN}-cover_{self.node.serial_number}"
5353

5454
@property
5555
def name(self):

homeassistant/components/velux/manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,6 @@
22
"domain": "velux",
33
"name": "Velux",
44
"documentation": "https://www.home-assistant.io/integrations/velux",
5-
"requirements": ["pyvlx==0.2.12"],
5+
"requirements": ["pyvlx==0.2.14"],
66
"codeowners": ["@Julius2342"]
77
}

requirements_all.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1756,7 +1756,7 @@ pyvesync==1.1.0
17561756
pyvizio==0.1.47
17571757

17581758
# homeassistant.components.velux
1759-
pyvlx==0.2.12
1759+
pyvlx==0.2.14
17601760

17611761
# homeassistant.components.html5
17621762
pywebpush==1.9.2

0 commit comments

Comments
 (0)