Lovelace ui (raw editor) add new custom card (resources)

I would like to use the custom module “Calendar Card for Home Assistant” (
But i don’t know how to add the resources part.
I would like to keep the ui editor (in combination with the raw config editor) instead of switching to the yaml configuration.

Can somebody help?

I already found the solution:

Added in the raw editor:



  • type: ‘custom:calendar-card’
    - calendar.agenda1
    - calendar.agenda2
    - calendar.agenda3
    show_header_toggle: false
    numberOfDays: 3
    title: Agenda

Hey Danny,

What version are you on and do you also see an error like mine?

@nldanny, when I enter similar code in the raw editor in order to get a custom card via lovelave ui I get an error.
Can you show your code (use please) ?

My Code:

YAML Error: TypeError: Cannot read property ‘startsWith’ of undefined