From d8f044b9727aede0d16479f58e4a6e10b3b6cb7f Mon Sep 17 00:00:00 2001 From: kevdliu <1766838+kevdliu@users.noreply.github.com> Date: Tue, 12 Dec 2023 17:24:44 -0500 Subject: [PATCH] restore anylist prefix --- custom_components/anylist/todo.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/custom_components/anylist/todo.py b/custom_components/anylist/todo.py index 00c539f..46357c7 100644 --- a/custom_components/anylist/todo.py +++ b/custom_components/anylist/todo.py @@ -30,8 +30,8 @@ class AnylistTodoListEntity(CoordinatorEntity[AnylistUpdateCoordinator], TodoLis def __init__(self, hass, coordinator, list_name): super().__init__(coordinator) - self._attr_name = list_name - self._attr_unique_id = list_name + self._attr_name = f"Anylist {list_name}" + self._attr_unique_id = f"anylist_{list_name}" self.list_name = list_name self.hass = hass