From 1b05185dfe285aac3c7ea170bac840814a12faee Mon Sep 17 00:00:00 2001 From: thekiwismarthome <134335563+thekiwismarthome@users.noreply.github.com> Date: Sat, 14 Feb 2026 06:52:29 +1300 Subject: [PATCH] Update models.py --- custom_components/shopping_list_manager/models.py | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/custom_components/shopping_list_manager/models.py b/custom_components/shopping_list_manager/models.py index 1494c9a..013a823 100644 --- a/custom_components/shopping_list_manager/models.py +++ b/custom_components/shopping_list_manager/models.py @@ -52,6 +52,13 @@ class Product: last_used: Optional[str] = None custom: bool = False source: str = "user" + tags: List[str] = field(default_factory=list) + collections: List[str] = field(default_factory=list) + taxonomy: Dict[str, Any] = field(default_factory=dict) + allergens: List[str] = field(default_factory=list) + substitution_group: str = "" + priority_level: int = 0 + image_hint: str = "" def to_dict(self) -> Dict[str, Any]: """Convert to dictionary."""