Replies: 1 comment
-
Obsolete after v0.3.0-beta |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
🤝 Contribute
This automation is still evolving! If you have ideas to improve usability, add new features, or fix edge cases — please let me know. It can be later turned into a Home Assistant Blueprint once the logic is refined and edge cases are handled.
🛒 Home Assistant × Rohlik.cz – Voice-driven Cart ↔ Shopping-list Sync
This automation lets anyone in the household say “Přidej mléko do nákupního seznamu” (or similar) and have:
Prerequisites
todo.rohlik_shopping_list
entity1 · Conversational prompt
Add this to the “Instructions” field of your Assist - Conversation Agent - ⚙️ if you want to check for duplicities:
Effect: the LLM silently adds new items, but politely asks before creating duplicates.
If your voice command matches the built-in intent
HassShoppingListAddItem
, the request will be executed locally by Home Assistant, skipping the Conversation agent (LLM).As a result, the duplicate check in the agent prompt will not be applied.
Workaround:
Rephrase your request to avoid triggering the default intent
2 · Script: mirror Rohlik cart → Shopping list
The script that syncs the Rohlik cart to the shopping list (
script.rohlik_cart_to_shopping_list
) is currently triggered only when an item is picked by automation below.This means the shopping list may become outdated if:
As a result, the Conversation agent may not be aware of what's already in the cart, and could allow duplicates unintentionally.
🧩 Open Question:
What is the best way to keep the shopping list up to date without using time-based automations (which I’m trying to avoid)?
3 · Automation: new spoken item → Rohlik cart
If multiple new items (without
[x]
suffix) are added to the shopping list at once the automation currently processes only the most recent one ([-1]
in the list).This means:
📝 Note:
This issue should not occur when using Assist via voice, as it adds only one item per request.
Beta Was this translation helpful? Give feedback.
All reactions