Skip to content

Commit

Permalink
Fix missing unique id for working mode entity
Browse files Browse the repository at this point in the history
  • Loading branch information
wlcrs committed Oct 30, 2022
1 parent 2b87f3c commit 4c7a835
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions select.py
Original file line number Diff line number Diff line change
Expand Up @@ -185,6 +185,7 @@ def __init__(
entity_category=EntityCategory.CONFIG,
)
self._attr_device_info = device_info
self._attr_unique_id = f"{bridge.serial_number}_{self.entity_description.key}"

# The options depend on the type of battery
self.options_to_values = {}
Expand Down

0 comments on commit 4c7a835

Please sign in to comment.