When I downloaded card_mod from HACS, I got this message:
“After the download completes, since you are not using Lovelace in storage mode you need to manually add the resource with these settings:”
What is Lovelace in Storage Mode?
How do I install card-mod.js as a module?
One last question, please.
My ui-lovelace.yaml was my old “Overview” tab, but I have migrated most of its functions and tabs to the Lovelace UI menu. So, I removed ui-lovelace.yaml and deleted the lovelace: mode lines in configuration.yaml.
After reboot, I still have an “Overview” with everything I had defined in ui-lovelace.yaml.
Why?
(It isn’t a cache or browser memory, I tried another browser and it’s still there.)
But, why is it even there since I deleted the yaml file that defined the content?
Update on my original question.
I still can’t get card-mod to do anything. I found the js file in config/www/community/lovelace-card-mod/card-mod.js
And I recall that www is local in HA, so I tried
You are using storage mode now. You don’t have to worry about this. You don’t need to add anything to your configuration.yaml file. Check the Configuration / Dashboard / Resources tab and make sure card_mod is listed there as a javascript module and you are good to go.
UPDATE:
Another DOH’ moment. The card was in a vertical stack. I tried card-mod in a card not in a stack and it works great.
Your assistance has been great. As you can tell I have struggled with Lovelace in yaml for a while, and the UI editor has been so much easier. Thanks again.
I have been struggling with card-mod error on one I imported. Card-mod was not installed, so I tried to follow this to install it. I first tried the yaml then found these later posts. I added the line in my pic, but yours has extra text after .js …where did that come from?? Can you help me understand what the hacstag is?? My install is a NUC, latest HA.