Home Assistant and Homebears: shopping lists and chores
Homebears works with Home Assistant in two ways: the Homebears integration, installed through HACS, turns your shopping lists into to-do lists and today’s chores into sensors; or a few lines of YAML talk to the REST API directly. Either way you add things to the list by button or voice and tick off chores when the washer finishes or the robot vacuum docks.
Your smart home already knows when chores are done
The washing machine’s smart plug knows when the spin cycle ends. The robot vacuum knows when it’s back on its dock. The button by the fridge is right where you notice the milk is gone. Yet the shopping list and the chore rota live in an app, and someone still has to open it and tap.
There are two ways to connect them. The Homebears integration is the comfortable one: install it through HACS and pick your lists and households from a menu. If you’d rather not add a custom component, Home Assistant can call the documented REST API with the tools it already has – RESTful Command for sending, RESTful sensors for reading – and the YAML further down does exactly that.
The Homebears integration
The integration lives in its own open-source repository and is in the HACS default list. Once set up, it gives you:
- Every shopping list you pick as a to-do list – add, tick off, rename and remove items from the to-do card, Assist or automations – plus an open items sensor.
- A “chores open today” sensor for every household you pick, with the chores’ names and who they’re assigned to.
- Two actions, “add shopping item” and “complete chore”, for buttons, voice and automations – the laundry and vacuum examples below work with them too.
To install it:
- Open HACS, search for Homebears, download it and restart Home Assistant.
- Create an API key in Homebears (see “Before you start” below), then go to Settings → Devices & services → Add integration → Homebears and paste it.
If HACS doesn’t find it yet, add https://github.com/fuerst-one/homebears-ha under Custom repositories in the HACS menu as an Integration.
You never look up an id: setup lists your circles, shopping lists and households for you, and “today” is your household’s own date. The integration needs Home Assistant 2026.10 or newer and checks Homebears once a minute: what Home Assistant changes shows up in the app straight away, and changes made in the app reach Home Assistant within about a minute. The repository’s README lists every entity and action.
Prefer plain YAML?
Everything below runs on Home Assistant’s built-in tools, with nothing to install. Every example was tested end to end with Home Assistant 2026.11.3:
- A “We need milk” button on your dashboard – or a Zigbee button by the fridge – that puts milk on the shopping list. Pressed twice by accident within the same minute, milk still lands on the list once.
- Voice through Assist: “add oat milk to homebears” or “put bananas on the homebears list”. Anyone with the list open in the app sees the item appear straight away.
- A script with fields (what to buy, how much) for a dashboard card or your own automations.
- Sensors: the number of open items on the groceries list, and the number and names of today’s open chores – ready for a dashboard card or a “bins still not out” reminder in Home Assistant.
- Laundry ticks itself off: when the washer’s power drops below 5 W for two minutes, Home Assistant completes your “Do a load of laundry” chore.
- The vacuum does its own paperwork: when the robot docks after cleaning, today’s “Vacuum the living room” is marked done – if it’s due today and still open.
Chores completed this way land in the chore history and stats like any other.
Before you start
-
Create an API key. In the app, open Settings, scroll to API keys and tap Manage API keys, then + (on a computer: New key). Name it “Home Assistant”, restrict it under Circles to the circle you want to automate, and pick an expiry under Expires. The API guide walks through each screen.
-
Give it only the access your examples need under What it may do:
Example Access Add items by script, button or voice Shopping: write Sensor: open items on a list Shopping: read (included in write) Sensor: chores open today Chores: read Washer finishes, vacuum docks Chores: write Looking up your household id once Households & members: read For everything on this page: Shopping write, Chores write and Households & members read. Write includes read.
-
Store the key in
secrets.yaml. The key (hb_…) is shown only once. Home Assistant can’t put text in front of a!secretvalue, so you store the whole header value, including the wordBearerand the space after it:# config/secrets.yaml homebears_authorization: "Bearer hb_your_key_here" -
Find your ids. The circle and list ids are in the app’s address bar when you open the list:
my.homebears.app/c/CIRCLE_ID/shopping/LIST_ID. The household id and the chore ids aren’t in the address – one API call each gives you them. Takeidfrom the household in the first answer and theidof each chore by itsnamein the second:KEY=hb_your_key_here curl -s https://api.homebears.app/api/v1/circles/$CIRCLE_ID/households \ -H "Authorization: Bearer $KEY" -H 'Accept: application/json' curl -s https://api.homebears.app/api/v1/circles/$CIRCLE_ID/households/$HOUSEHOLD_ID/cleaning-tasks \ -H "Authorization: Bearer $KEY" -H 'Accept: application/json'The laundry example needs an On demand chore (no schedule), the vacuum example a scheduled one, daily or weekly.
-
Turn on packages once in
configuration.yaml, so everything below can live in one file:homeassistant: packages: !include_dir_named packages
All the YAML on this page together is one package – download it as a single file or copy it from below. Save it as config/packages/homebears.yaml, replace CIRCLE_ID, LIST_ID, HOUSEHOLD_ID, LAUNDRY_TASK_ID and VACUUM_TASK_ID with your ids, and restart Home Assistant. It’s split up here by example, so in the file each top-level key – rest_command:, rest:, script:, input_button:, automation: – appears only once, with the entries from every example underneath.
Add to the shopping list by button or voice
The command that sends one item, with an optional quantity and an optional op_id:
# Homebears + Home Assistant — save as config/packages/homebears.yaml
# Replace CIRCLE_ID, LIST_ID, HOUSEHOLD_ID, LAUNDRY_TASK_ID and VACUUM_TASK_ID with your own ids.
# secrets.yaml: homebears_authorization: "Bearer hb_…"
rest_command:
homebears_add_item:
url: "https://api.homebears.app/api/v1/circles/CIRCLE_ID/shopping-lists/LIST_ID/items"
method: post
headers:
Authorization: !secret homebears_authorization
Accept: application/json
content_type: application/json
payload: >-
{% set body = {'name': item} %}
{% if quantity is defined and quantity %}{% set body = dict(body, quantity=quantity | string) %}{% endif %}
{% if op_id is defined and op_id %}{% set body = dict(body, op_id=op_id) %}{% endif %}
{{ body | to_json }}
The script for dashboards, the milk button and the voice sentences. The milk button sends the same op_id for a whole minute, and Homebears applies an op id only once within 24 hours, so a double press adds milk once. Swap the input_button trigger for a Zigbee button or a fridge door sensor if you like. Voice needs Assist, which default_config: already includes.
script:
homebears_add_to_groceries:
alias: "Add to Homebears groceries"
icon: mdi:cart-plus
fields:
item:
description: "What to buy"
example: "Oat milk"
required: true
selector:
text:
quantity:
description: "How much (optional)"
example: "2"
selector:
text:
sequence:
- action: rest_command.homebears_add_item
data:
item: "{{ item }}"
quantity: "{{ quantity | default('') }}"
input_button:
homebears_milk:
name: "We need milk"
icon: mdi:cup
automation:
- id: homebears_milk_button
alias: "Homebears: milk button adds milk"
triggers:
- trigger: state
entity_id: input_button.homebears_milk
actions:
- action: rest_command.homebears_add_item
data:
item: "Milk"
# Same op id within one minute: a double press adds milk once.
op_id: "ha-milk-{{ now().strftime('%Y%m%d%H%M') }}"
- id: homebears_assist_add_item
alias: "Homebears: add items by voice"
triggers:
- trigger: conversation
command:
- "add {item} to homebears"
- "put {item} on the homebears list"
actions:
- action: script.homebears_add_to_groceries
data:
item: "{{ trigger.slots.item }}"
- set_conversation_response: "Added {{ trigger.slots.item }} to Homebears."
Open items and today’s chores as sensors
sensor.groceries_open_items counts the unchecked items on the list and carries its name, the number of checked items and the last change as attributes; it asks every 5 minutes. sensor.chores_open_today and sensor.chores_open_today_list give the number and names of the household’s chores due today that aren’t done or skipped, every 15 minutes.
rest:
- resource: "https://api.homebears.app/api/v1/circles/CIRCLE_ID/shopping-lists/LIST_ID"
headers:
Authorization: !secret homebears_authorization
Accept: application/json
scan_interval: 300
sensor:
- name: "Groceries open items"
unique_id: homebears_groceries_open_items
icon: mdi:cart-outline
unit_of_measurement: items
state_class: measurement
value_template: "{{ value_json.data.open_count }}"
json_attributes_path: "$.data"
json_attributes:
- name
- checked_count
- updated_at
- resource_template: "https://api.homebears.app/api/v1/circles/CIRCLE_ID/households/HOUSEHOLD_ID/occurrences?status=open&from={{ now().date() }}&to={{ now().date() }}&per_page=100"
headers:
Authorization: !secret homebears_authorization
Accept: application/json
scan_interval: 900
sensor:
- name: "Chores open today"
unique_id: homebears_chores_open_today
icon: mdi:broom
unit_of_measurement: chores
value_template: "{{ value_json.meta.total }}"
- name: "Chores open today list"
unique_id: homebears_chores_open_today_list
icon: mdi:format-list-checks
value_template: "{{ (value_json.data | map(attribute='task.name') | join(', '))[:255] }}"
Tick off chores when the washer finishes or the vacuum docks
Three more commands: complete an on-demand chore, look up today’s open chores, and complete one of them.
rest_command:
homebears_complete_chore:
url: "https://api.homebears.app/api/v1/circles/CIRCLE_ID/households/HOUSEHOLD_ID/cleaning-tasks/{{ task_id }}/complete"
method: post
headers:
Authorization: !secret homebears_authorization
Accept: application/json
homebears_open_chores_today:
url: "https://api.homebears.app/api/v1/circles/CIRCLE_ID/households/HOUSEHOLD_ID/occurrences?status=open&from={{ now().date() }}&to={{ now().date() }}&per_page=100"
method: get
headers:
Authorization: !secret homebears_authorization
Accept: application/json
homebears_complete_occurrence:
url: "https://api.homebears.app/api/v1/circles/CIRCLE_ID/households/HOUSEHOLD_ID/occurrences/{{ occurrence_id }}/complete"
method: post
headers:
Authorization: !secret homebears_authorization
Accept: application/json
And the two automations. Rename sensor.washing_machine_power and vacuum.robot to your own entities and adjust the 5 W threshold to your plug. If the vacuum chore isn’t due today or is already done, the second automation simply does nothing.
automation:
- id: homebears_laundry_done
alias: "Homebears: tick laundry when the washer finishes"
triggers:
- trigger: numeric_state
entity_id: sensor.washing_machine_power
below: 5
for: "00:02:00"
actions:
- action: rest_command.homebears_complete_chore
data:
task_id: LAUNDRY_TASK_ID
- id: homebears_vacuum_done
alias: "Homebears: tick today's vacuuming when the robot docks"
triggers:
- trigger: state
entity_id: vacuum.robot
from:
- cleaning
- returning
to: docked
actions:
- action: rest_command.homebears_open_chores_today
response_variable: chores
- variables:
occurrence_id: >-
{{ chores.content.data
| selectattr('cleaning_task_id', 'eq', 'VACUUM_TASK_ID')
| map(attribute='id') | first | default('') }}
- condition: template
value_template: "{{ occurrence_id != '' }}"
- action: rest_command.homebears_complete_occurrence
data:
occurrence_id: "{{ occurrence_id }}"
Good to know
- No push from Homebears. There are no webhooks, so Home Assistant only learns about changes when a sensor polls. Pick sensible scan intervals: each key allows 120 requests per minute, and the examples use a tiny fraction of that.
- A failed request only logs a warning. If Homebears refuses a request – an empty item name, a wrong id, an expired key – RESTful Command writes a warning with the status code to the Home Assistant log, and the script or automation carries on. If an item doesn’t show up, look there first.
- No API call to notify people. Homebears’ own notifications still go out as usual – the others hear about a chore Home Assistant ticked off in your name – but you can’t send someone a message through the API. Use Home Assistant’s own notify actions for that.
- “Today” is Home Assistant’s date. The chore sensors and the vacuum automation ask for Home Assistant’s today, which matches the household’s calendar as long as Home Assistant runs in the same time zone as your household.
- Points go to the key’s owner. A chore completed by Home Assistant counts as done by you, with your points. The API also accepts
credited_user_idto credit someone else who shares the chore; the examples don’t send it. - Free in the beta. The API is free for everyone while Homebears is in beta. It isn’t part of the core that stays free for good, so it may cost extra afterwards, for Bearly Adopters too.
- Everything here was tested with Home Assistant 2026.11.3.
Rather talk to your household through an AI assistant? See Homebears with AI assistants.
Questions and answers
- Is there a Home Assistant integration for Homebears?
- Yes. The Homebears integration is in the HACS default list (search for Homebears in HACS; source at github.com/fuerst-one/homebears-ha) and set up with a personal API key. If you’d rather not install anything, the YAML on this page does much the same with Home Assistant’s built-in RESTful tools.
- Can Home Assistant add items to my Homebears shopping list by voice?
- Yes. With a custom Assist sentence such as “add oat milk to homebears”, an automation sends the item to your list and everyone with it open sees it appear. Home Assistant’s own “add … to my shopping list” still goes to its built-in list, which is why the sentence names Homebears.
- Does Homebears send changes to Home Assistant?
- No. Homebears has no webhooks or push to Home Assistant, so both the integration and the YAML sensors ask the API at an interval – every 5 or 15 minutes in the YAML examples here.
- Does using Homebears with Home Assistant cost extra?
- Not during the beta: the API is free for everyone. It isn’t part of the core that stays free for good, so it may cost extra afterwards, for Bearly Adopters too. There are no prices yet.
Free during the beta
Become a Bearly Adopter
Homebears is free while it’s in beta. Join now and the core features stay free for you – for good.