A Home Assistant custom integration that adds a favorites system to your dashboards, allowing you to quickly access important entities without duplicating cards manually.
- Visual Star Button - Add favorites with a click
- Native Hold-Action - Use hold-action to add favorites (no wrapper needed)
- Favorites Grid Card - Beautiful grid display with multiple themes
- Per-User Support - Each user has their own favorites list
- Multiple Themes - Dark, Light, Liquid Glass, and Native themes
- Real-time Updates - Changes sync instantly
- Entity Controls - Built-in controls for lights, climate, covers
- Custom Names - Rename favorites with long-press
- Drag & Drop - Reorder favorites easily
- Open HACS → Integrations
- Click ⋮ → Custom repositories
- Add repository:
https://github.com/hamdi30986-ctrl/HAFavorites - Category: Integration
- Install HAFavorites
- Restart Home Assistant
- Go to Settings → Devices & Services → Add Integration
- Search for Favorites and configure
- Download the latest release
- Copy
custom_components/favoritesto/config/custom_components/ - Restart Home Assistant
- Add the integration via Settings → Devices & Services
The custom cards are automatically installed and registered when you set up the integration!
- Cards are automatically downloaded with the integration
- Resources are automatically added to Lovelace
- No manual setup required
If cards don't appear after installation, refresh your browser or restart Home Assistant.
Wrap any card with the favoritable-card:
type: custom:favoritable-card
entity: light.living_room
button_position: top-right
card:
type: entities
entities:
- light.living_roomUse Home Assistant's built-in hold-action:
type: entities
entities:
- entity: light.living_room
hold_action:
action: call-service
service: favorites.toggle
service_data:
entity_id: light.living_room
user_id: "{{ user.id }}"Add the grid card to display all favorites:
type: custom:favorites-grid-card
title: Favorites
theme: dark # dark, light, liquid, native
columns: 2
show_climate_controls: true
show_cover_controls: true
allow_reorder: true| Option | Default | Description |
|---|---|---|
title |
"Favorites" |
Card title |
theme |
"dark" |
Theme: dark, light, liquid, native |
columns |
2 |
Number of columns |
show_climate_controls |
true |
Show climate controls |
show_cover_controls |
true |
Show cover controls |
allow_reorder |
true |
Enable drag-and-drop |
- Rename: Long-press any favorite (4 seconds) to rename
- Reorder: Drag and drop items in the grid
- Per-User: Each user has their own favorites list
Star button not appearing?
- Refresh your browser (cards are auto-registered)
- Check that the integration is configured
- Verify resources in Settings → Dashboards → Resources
Favorites not showing?
- Refresh your browser
- Check that the integration is configured
- Verify
sensor.favorites_listexists in Developer Tools
Hold-action not working?
- Verify the card supports
hold_action - Check browser console for errors
- Issues: GitHub Issues
Made with ❤️ for the Home Assistant community
