Skip to content

Commit

Permalink
restore anylist prefix
Browse files Browse the repository at this point in the history
  • Loading branch information
kevdliu committed Dec 12, 2023
1 parent 8dc279e commit d8f044b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions custom_components/anylist/todo.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit d8f044b

Please sign in to comment.