Great card, thanks:)
One question, how can I make the background of the card transparent?
Great card, thanks:)
One question, how can I make the background of the card transparent?
Glad you like it!
The background colour and transparency of cards can be changed by adjusting the theme you use for HA. Read more here: https://www.home-assistant.io/integrations/frontend/
Can you help me.
I have this error. Not appear card for meā¦
My version core-2021.7.3
Did you add:
resources:
- url: /local/plugins/birthday-card/birthday-card.js?v=1.2001
type: js
if yes, clear cache in your browser. Also HA restart and clear cache after restart may help.
Hi! Have you placed birthday-card.js at the location specified in the url (a folder called ābirthday-cardā within a folder called āpluginsā placed in your www folder in config)? If not, please edit the url as appropriate. Or add it through UI at Configuration ā Lovelace Dashboard (? uncertain of the english name) ā Resources.
Hi! Yes i have.
Did you clear cache in your browser?
Are you sure you have edited the file itself as explained? The errors you get in the file may be because of typos in the āSETTINGSā or āBIRTHDAY REGISTRYā sections (too many or missing commas, semi-colons, brackets, etc.). You may also want to try adding āmode: yamlā in the lovelace section, as explained here: Dashboards and Views - Home Assistant
It also may help to change the version number after the url to a higher number and reload the page afterwards. If none of these tips work Iām afraid Iām at a loss here.
@Vlad yes I did.
@Erlend I downloaded the birthday-card file and uploaded it to my HA. Could you check if this code has not been edited and is the same as yours? I didnāt make any changes
Hi @Erlend,
thank you for this great card. It has been asked before about the outsourcing of the birthday data. I am facing the same problem that I would like to outsource the birthday data to a csv file. Has anyone had any success with this so far?
Best regards
Is there an easy way to add an if/else to change the dbExpr color to red if say the birthday is within 15 days. Like if Iām showing the next 60 days of birthdays I would like for anything less than or equal to 15 in the bd-when class to be red, else remain black. I can change bd-when to red but that changes all of it to red.