Installation¶
There are two ways to install Dynamic Grid Card in your Home Assistant. We recommend HACS.
No release yet
The card is not in the default HACS store. Add it as a custom repository – HACS then installs the current version from GitHub.
Method 1: HACS (custom repository)¶
- Ensure HACS is installed.
- Open HACS, click the three dots in the top right and choose Custom repositories.
- Add
https://github.com/xBourner/dynamic-grid-cardwith the type Dashboard. - Search for Dynamic Grid Card, then download and install it.
- Clear your browser cache and refresh (F5) the page.
(For detailed help on custom repositories, see HACS Custom Repositories.)
Method 2: Manual Install¶
- Download dynamic-grid-card.js from the
distfolder of the repository. - Put dynamic-grid-card.js into your
config/wwwfolder. -
Add a reference to the file in your dashboard:
- Using the UI: Settings → Dashboards → ⋮ (More Options) → Resources →
Add Resource → URL
/local/dynamic-grid-card.js→ type JavaScript Module. (Enable Advanced Mode in your user profile if the Resources menu is missing.) - Using YAML:
- Using the UI: Settings → Dashboards → ⋮ (More Options) → Resources →
Add Resource → URL
Add the card¶
Edit your dashboard, click Add Card and search for Dynamic Grid Card. The visual editor lets you add columns, add modules to each column and edit every module.
Continue with Configuration.