3.6 KiB
Shopping List Manager
A custom Home Assistant integration that provides an enhanced shopping list experience, including a companion Lovelace card for managing items directly from your dashboard.
Features
- 📋 Manage shopping list items from Home Assistant
- 🔌 WebSocket-based backend (no polling entities)
- 🖥️ Custom Lovelace card
- ⚙️ UI-based configuration (Config Flow)
- 🚀 Compatible with Home Assistant 2024.8+
1. Installation (HACS)
Click the button above or follow the manual steps below.
- Open HACS
- Go to Integrations
- Click ⋮ → Custom repositories
- Add this repository:
- Repository:
https://github.com/thekiwismarthome/shopping-list-manager - Category: Integration
- Repository:
- Install Shopping List Manager
- Restart Home Assistant
2. Install the Lovelace Card Resource (Required)
The Lovelace card JavaScript file is included with the integration, but must be copied manually to the www directory so Home Assistant can load it.
Step 1: Copy the card file
Run the following command (via SSH, Terminal add-on, or container shell):
mkdir -p /config/www/community/shopping_list_card && \
cp /config/custom_components/shopping_list_manager/frontend/shopping_list_card.js \
/config/www/community/shopping_list_card/shopping_list_card.js
Step 2: Add the resource to Home Assistant
- Go to Settings → Dashboards
- Click ⋮ (top right) → Resources
- Click Add Resource
- Enter:
URL: /local/community/shopping_list_card/shopping_list_card.js
Type: JavaScript Module
- Click Create
- Refresh your browser (Ctrl + F5)
3. Add the Integration
Click the button above or add it manually:
- Go to Settings → Devices & Services
- Click Add Integration
- Search for Shopping List Manager
- Follow the setup steps
No YAML configuration is required.
4. Add the Card to a Dashboard
Add a Manual card to your dashboard and use the following YAML:
type: custom:shopping-list-card
title: Shopping List
list_id: groceries
Use the ⚙️ cog button in the card to configure additional settings.
Updating
- HACS updates will update the integration
- If the Lovelace card JavaScript changes in a future release, you must repeat the copy command above
This is expected behavior for single-repository integrations.
Compatibility Notes
- Designed for Home Assistant 2024.8+
- Uses WebSocket APIs
- Fully compatible with the Services → Actions change introduced in Home Assistant 2024.8
Troubleshooting
If the card does not load:
- Ensure Home Assistant was restarted after installation
- Verify the file exists at:
/config/www/community/shopping_list_card/shopping_list_card.js
- Confirm the resource URL is correct
- Perform a hard browser refresh (Ctrl + F5)
License
MIT License