Hello, I’m new to Home Assistant and I am having a problem with adding custom cards. I am using HACS to install them, and two of the four are working.
- GitHub - arallsopp/hass-hue-icons: Additional vector icons for home assistant to model Philips Hue bulbs and fixtures.
- GitHub - custom-cards/bar-card: Customizable Animated Bar card for Home Assistant Lovelace
- GitHub - custom-cards/surveillance-card: A custom component for displaying camera feeds in the style of a surveillance system.
- GitHub - benct/lovelace-battery-entity-row: Show battery states or attributes with dynamic icon on entity rows in Home Assistant's Lovelace UI
The first two are working. The last two are not. After installing surveillance-card from HACS, I checked Lovelace - Manage Resources and all four are listed there. The cards that are not working do not show up when adding a new card, and when I add a manual card (by pasting, for example the YAML example listed in surveillance-card step 3 EXAMPLE YAML), I get “No card type configured”. The bar-card is working and hass-hue-icons is not a card, but it is also working.
I’ve restarted (and rebooted) the HA multiple times, I’ve purged internet browser cache, and I started troubleshooting at the lovelace_resources file under .storage
{
"version": 1,
"key": "lovelace_resources",
"data": {
"items": [
{
"url": "/hacsfiles/bar-card/bar-card.js?hacstag=163363577320",
"type": "module",
"id": "f16222c441ed4105af1f42f970bf2115"
},
{
"url": "/hacsfiles/lovelace-battery-entity-row/battery-entity-row.js?hacstag=303857065131",
"type": "module",
"id": "12c3e6499dbc46c1a757ed72fbbb3bdb"
},
{
"url": "/hacsfiles/hass-hue-icons/hass-hue-icons.js?hacstag=3844345221028",
"type": "module",
"id": "4a0414e5ab6f42639621f6acc46864be"
},
{
"url": "/hacsfiles/surveillance-card/surveillance-card.js?hacstag=147764937005",
"type": "module",
"id": "37b97180df5b46d0968836d7b643b6f1"
}
]
}
}
Everything looks right, but I thought I would try and change the Managed Resources URL from /hacsfiles/ to /local/community/ (because I looked at the file system where www=local) and tried to go direct to the files which resulted in HACS saying that two modules are not loaded propery and reinstalled them. The types are supposed to module, so that all checks out.
All the searching I’ve found seems to say that doing it via HACS is the right way to go, but it doesn’t seem to be working for me. All other search results seem to reference the before time when modifying lovelace files directly was how to do it, but everything seems to discourage that now. Any thoughts on what I’m doing wrong?
HACS is updated to 1.13.2. HA is 2021.7.3. Any suggestions?