Skip to content

Commit

Permalink
BREAKING CHANGE: subsystem IDs are changing due conflict of multi "in…
Browse files Browse the repository at this point in the history
…stance" conflict

Can break automations, dashboards or anything connected to "SubSystems IDs"

fix: subsystem - duplicate IDs
  • Loading branch information
petrleocompel committed Dec 9, 2024
1 parent 29fd365 commit dc5f146
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
# Changelog

## v3.0.0
BREAKING CHANGE: subsystem IDs are changing due conflict of multi "instance" conflict
Can break automations, dashboards or anything connected to "SubSystems IDs"

- **fix**: subsystem - duplicate IDs
- **chore**: remove Deprecated option to use internal API lib

## v2.3.0
Expand Down
2 changes: 1 addition & 1 deletion custom_components/hikvision_axpro/alarm_control_panel.py
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ def device_info(self) -> DeviceInfo:
@property
def unique_id(self):
"""Return a unique id."""
return "subsys-" + str(self.sys.id)
return "subsys-" + self.coordinator.mac + str(self.sys.id)

@property
def name(self):
Expand Down

0 comments on commit dc5f146

Please sign in to comment.