As you know, the official shopping list integration has been recently updated. On the other hand, the integration with Bring! It is outdated and does not work correctly anymore.
For this reason I have implemented this new interface that allows you to control the official integration of the shopping list. It is inspired by the Bring! app and enhanced by HA automations. You can read full guide at this link
Changes from the previous version include:
Fully works with the official Home Assistant integration, making installation easier and improving performance.
Redesign of the lovelace cards, improving functionality and giving a similar appearance to the Bring! application.
No more dependencies on other integrations, improving performance and simplifying installation.
Added new features such as notifications, product suggestions, ingredient recipes or membership cards.
Easier to install through blueprint.
However, I need your help to fix the following issues:
When a product is added through Assist, it cannot be managed by the list. I think it is because it adds the product to the list followed by a blank space, but then this blank space is not taken into account anymore (and therefore it does not find the product when it is called from one of the services).
I have not been able to modify the blueprint so that notifications can be sent to different devices
Hope you like it, and some of you can help to keep improving it!
It does not It works with an input text helper. It adds the product when the value changes. I didn’t find the way to make it more elegant… Anyway, does it work properyly for you?
I noticed this too, brings up a blank page. I use the bring integration which is very helpful with Alexa. What shopping list can be used in HA with Voice Assistants
I think the problem with blank space can be fixed.
I’m trying to create an automation that:
Triggers when the last character of the product is a blank space (so far ok)
Remove the product. Here’s the problem, because I can’t get it to take white space into account from the code. However, I can delete it from developer tools.
Add the product again without the blank (easy)
Maybe someone can help with step 2. I’ve tried with strings, intend…
I have modified the blueprint so when the shopping list exceeds ‘x’ products, the notification can be sent to multiple devices, in addition to being able to customize the title of the notification.
To apply the new version, delete the previous version and import the blueprint again.
I am using the picture elements bit at the moment, well it worked to add one item then last night it started throwing errors when I tried to choose other products, I’ll take a look today and start gathering pics as that has not been shared
on a side note, I was wondering if we could change the “Shopping List” to another ToDo List, I am a bit OCD and anal LOL and I have called it Groceries rather than shopping list and I have a ToDo List called Groceries so would like to use that…
I’ve installed it
having a couple of teething problems at this stage. Hope you are all good with some feedback, wish I could do more to help but I am dumb as when it comes to any dev work sorry.
The words get translated into German in HA from the Bring app This might be an opportunity to learn German, I was hopeless when I was over there LOL
Adding items from Bring works but only if you type it in and press the plus sign from HA will it add a product.
If the product has a tick next to it in HA it will not get unticked and added to the list in HA even if you add it in Bring
When I untick an item to add it it errors out with …
[140599125697088] BringTodoItem(summary='Nice and Natural', uid='bring_item_Nice_and_Natural', status=<TodoItemStatus.NEEDS_ACTION: 'needs_action'>) is not in list
[140599125697088] BringTodoItem(summary='Baby wipes', uid='bring_item_Baby_wipes', status=<TodoItemStatus.NEEDS_ACTION: 'needs_action'>) is not in list
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/components/websocket_api/commands.py", line 230, in handle_call_service
await hass.services.async_call(
File "/usr/src/homeassistant/homeassistant/core.py", line 2035, in async_call
response_data = await coro
^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/core.py", line 2072, in _execute_service
return await target(service_call)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/helpers/entity_component.py", line 235, in handle_service
return await service.entity_service_call(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 876, in entity_service_call
response_data = await _handle_entity_call(
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 948, in _handle_entity_call
result = await task
^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/components/todo/__init__.py", line 249, in _async_update_todo_item
await entity.async_update_todo_item(item=update_item)
File "/config/custom_components/bring/todo.py", line 122, in async_update_todo_item
item_key = self._items.index(search_bring_item)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ValueError: BringTodoItem(summary='Nice and Natural', uid='bring_item_Nice_and_Natural', status=<TodoItemStatus.NEEDS_ACTION: 'needs_action'>) is not in list
The German thing is … weird.
It happened to me too, but just on a single list and as one off.
Ive been unable to replicate it so its potentially fixed. The original code i “borrowed” had some weird translation stuff in it, which i have ripped out as it seemed to be doing some odd things.
Which version have you installed? Updates in bring should be resolved as of 1.1.0. Based on the log output it looks like you have an older version, so try updating it.
aaah, I was on 0.0.2, that was the latest when I downloaded it a few hours ago :), installing 1.1.0, will let you know how I get on.
Awesome stuff by the way