From 4c7a835df59a10bea9f9f3465feef55cdab28791 Mon Sep 17 00:00:00 2001 From: wlcrs Date: Sun, 30 Oct 2022 18:40:36 +0000 Subject: [PATCH] Fix missing unique id for working mode entity --- select.py | 1 + 1 file changed, 1 insertion(+) diff --git a/select.py b/select.py index 8a0cfd1..b5dc5c4 100644 --- a/select.py +++ b/select.py @@ -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 = {}