You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is more of a general note for any potential new HA users like me learning the ropes.
When installing from HACS, I couldn't get the code to be recognized by the Lovelace GUI Editor. I kept getting these "No card type configured” errors when I was using the "Manual" YAML entry. I checked the Resources and the code was there. Rebooted a bunch of times and still no luck.
So there were now two entries:
/hacsfiles/love-lock-card/love-lock-card.js
and
/hacsfiles/love-lock-card/love-lock-card.js?hacstag=192835334380
After that tweak and a restart my little test YAML worked:
type: custom:love-lock-card
title: Fireplace Lights (Restricted)
popup: password
password: 1234
cards:
The Restriction Card in HACS provides essentially the same functionality as this code and doesn't have this odd requirement, so it might be a better choice for newer users: https://github.com/iantrich/restriction-card
The text was updated successfully, but these errors were encountered:
This is more of a general note for any potential new HA users like me learning the ropes.
When installing from HACS, I couldn't get the code to be recognized by the Lovelace GUI Editor. I kept getting these "No card type configured” errors when I was using the "Manual" YAML entry. I checked the Resources and the code was there. Rebooted a bunch of times and still no luck.
Based on a hint at https://community.home-assistant.io/t/some-hacs-installed-custom-cards-not-working/323226 I found I had to create a duplicate resource entry to make it pass the entry step.
So there were now two entries:
/hacsfiles/love-lock-card/love-lock-card.js
and
/hacsfiles/love-lock-card/love-lock-card.js?hacstag=192835334380
After that tweak and a restart my little test YAML worked:
type: custom:love-lock-card
title: Fireplace Lights (Restricted)
popup: password
password: 1234
cards:
name: Password Lamp
type: light
The Restriction Card in HACS provides essentially the same functionality as this code and doesn't have this odd requirement, so it might be a better choice for newer users:
https://github.com/iantrich/restriction-card
The text was updated successfully, but these errors were encountered: