Lovelace: Advanced calendar card

I forgot to add it again after reverting changes :flushed:
Now it should work in 0.8.2

1 Like

Yes, already tested :slight_smile: It works now, great work!

I can also report that 0.8.2 is working when installed with HACS. Thank you! Great card!

1 Like

I also had the “calendar can’t be loaded…” message a couple of days ago for a several hours. I think it was a problem with google because the calendars weren’t anywhere in the HA states list either. And I was getting errors in the log related to the connection to the calendar server. I didn’t do anything to “fix it” and it’s been working fine since yesterday.

Oh, and thanks for making it possible to get this into HACS.

EDIT:

What is the URL that you need to put in the manual component entry for HACS?

This card looks awesome. Is there any chance that it will find its way into the default home-assistant install, without the need of custom components?

Thanks!

Is it possible to not show a Title ?
I.e. not take any space in the card ?

Thx,
Koen

Great calendar, highly recommended.
Works without any issue, thank you very much for your work :slight_smile:

sztof: Thanks, dzięki :slight_smile:

KoenChiau:
You can set:

titleSize:0 
locationTextSize: 0

and the title line will not be displayed.

johnappletree: no, it’s not possible.
Again, I need to say I’m just developing it for fun and for my own needs, so no guarantees :slight_smile:

Few other things. Sorry for delays in responding, I’m focusing on issues reported on Github now.
Now the Calendar app is available in HACS store, so if you use HACS you can install it without adding it manually.

If anyone has this error “calendar can’t be loaded" after HA upgrade, it’s not calendar fault. You have to reauthenticate Home Assistant with Google (just click the bell icon in HA main page)

In v0.8.4 I added an option to show description (not tested well yet) - you can show a description of your event from Google Calendar (if you use it, which I don’t)

2 Likes

Thanks for the clarification.

Appreciating all the time and effort you are putting into this project !

1 Like

Thanks for clarifying about re-authenticating the calendar

@atomic77 Great card, really love it!
I have a question though. Today I updated everything and migrated to HACS. Before I did that, the events were displayed in different colors (per calendar entity), but in the latest version downloaded using HACS, all events are in the default color. I did not change anything in the configuration of the card itself, only the resources part in ui-lovelace.yaml. Do any of you know what I need to change in order to get it back to showing different colors?

This might be a silly question - but I’ve checked this thread (and similar calendar card threads) without a straight answer - is it possible to obtain the details of future calendar events? I.e. turn it into a sensor?

I want to be able to act on the next (or 2nd) calendar event, not the current or next one coming up.

Any ideas? I can display it using this card, but how do I use those values?

Yes, I’ve been doing that for a year. What I’m after is getting the attributes from the 2nd or 3rd (not 1st). I can’t see it as a sensor in states, but I can in this calendar card…

1 Like

Is it possible to get the calendar working, without any lovelace yaml editing?
in my opinion graphical editing without yaml is one of the most important funcionalities of home assistant and i don’t want to loose this function.

Great card @atomic77!

It would be nice to show the configuration used to generate the cards shown in the readme on github.

I’m struggling with getting different colors on events from different calendars in the Events mode with the following configuration:

entities:
  - color: red
    entity: calendar.family
  - color: gray
    entity: calendar.skolmat
  - entity: calendar.work
    color: red
showColors: true
type: 'custom:atomic-calendar'

Have the same issue with basically the same config. Using three calendars and set different colors, but no colors show up.

Edit: Nice… one minute later I got some colors showing up. According to https://github.com/atomic7777/atomic_calendar/blob/master/README.md there’s no color option in the list, but more specific options like titleColor. The Markdown in the readme is somehow broken and the table isn’t rendered properyl on Github.

I’ve reformatted the README.md here: https://github.com/atomic7777/atomic_calendar/blob/da94bf7b90db02f89819f8a907212f4179a2dca0/README.md

Did you manage to get each calendar show a separate color? Wich version of atomic_calendar are you running?

I submitted a PR to try to fix the layout four days ago.

1 Like

I saw that when I’ve already submitted my fix. I’ve added som formatting to the yaml examples too.