It’s been a long time but hope it helps somebody:
- Add a “www” folder at hass root directory (/config). I recommend you use File Editor Add-on. Then restart hass.
- Download https://github.com/DBuit/hass-smart-home-panel-card/archive/refs/heads/master.zip and extract custom-smart-home-panel-card.js
- Upload the .js file to www folder. There’s an upload button on file editor
- Then go to settings, lovelace dashboards, resources. (Advanced settings has to be on) and click add resource. On url choose /local/custom-smart-home-panel-card.js on type choose JavaScript Module
I recommend you to restart hass, it shouldn’t be necessary but better to be safe than sorry - Then go to the dashboard you want the card on, click on edit dashboard, raw configuration editor (You have to click the 3dot icon in edit mode to see that button) and under “cards:” add the custom panel like this:
- Personalize it.
Here is the custom card’s official documentation with a config example: GitHub - DBuit/hass-smart-home-panel-card: Home assistant smart home panel card
And here is official hass info on how to use custom resources: Lovelace: Custom Cards | Home Assistant Developer Docs
Here is how to register custom resources: https://developers.home-assistant.io/docs/frontend/custom-ui/registering-resources