First order of business, use HACS to install the repository. Done.
Now what?
The instructions on the repository seem to be outdated. There’s a resource already defined in Lovelace resources after installing the repository:
/hacsfiles/swipe-card/swipe-card.js
This path appears to be imaginary. The actual file is found in /usr/share/hassio/homeassistant/www/community/swipe-card/swipe-card.js
If I add this to the Lovelace config using the suggested yaml, I get:
Error: Custom element not found: swipe-card
Am I supposed to copy this file somewhere else, or am I supposed to manually add the resource when it’s already been added? Why is it in HACS? Ugh…what am I missing?
The instructions make perfect sense if you read the instructions. It’s not an imaginary path. Please read this, then you’ll understand how plugins work.
That makes perfect sense. The instructions on the card’s repository doesn’t. And you can kick me in the head now because the custom card just showed up in my card selections after I rebooted HA again.
I’m seeing a lot of custom cards that still have old instructions that aren’t necessary anymore because of HACS…don’t know if that’s a good thing or not.
hacsfiles is an endpoint, not the ‘real’ path. Same as local is an endpoint that doesn’t exist (www is the ‘real’ path)
You have not been here 5 minutes… surely this is not news to you?
Your issue is probably you just needed to empty/refresh the cache…
quite a lot of people don’t use it actually from what I have seen. Most CC’s have manual and HACS install instructions but it can be confusing for sure.
Lol…haha…yeah. I’ve been doing this stupid crap for 3 years now and you’d think I’d have figured out friggin Lovelace. Unfortunately it’s one of those once-you-get-it-going-you-don’t-need-to-remember-how problems.
All that, and this particular thermostat doesn’t actually behave the way one would expect it to…it’s an up/down toggle, not a circular tap and drag. Bleh.