Google calendar component

I was able to get the google calendar component installed but all I saw was the attached screen shot.

i this the way it is supposed to look? If this is only driving automation then that makes sense. But one thing that I could use this for is having a calendar view to show all my calendar entries for the day, month, etc.

That is the way it is supposed to look yes. These are sensors on which you build automation.
What you can do for instance is trigger on holidays. Christmas? Have your lights alternate like stars or chance color to red and green. 4th of July? Chance the lights to red, white and blue.

Hi,

If you want you can create some sensors to display the main informations from your calendar like this

sensors.yaml

- platform: template
  sensors:
    rdv_arno:
      friendly_name: 'Prochain Rdv'
      value_template: '{{ states.calendar.MAILACCOUNT.attributes.message }}'

- platform: template
  sensors:
    rdv_arno_h:
      friendly_name: 'Heure Rdv'
      value_template: '{{ states.calendar.MAILACCOUNT.attributes.start_time }}'

configuration.yaml

  mesrdv:
    name: mes rdv
    entities:
      - sensor.rdv_arno
      - sensor.rdv_arno_h
  calendrier:
    name: Mon calendrier
    entities:
      - calendar.MAILACCOUNT
      - group.mesrdv
    view: yes

2 Likes

Thanks. This is pretty much what I was looking for. It looks like you are showing more than 1 calendar event at at time, how did you do that? Mine is only showing the next event on the calendar.

Hi,

It’s auto for me, when i add my google account i got 3 calendars
my personal calendar
the calendar with the day off
and the calendar with birthday of my contacts …

In my google_calendar.yaml

- cal_id: [email protected]
  entities:
  - device_id: totoxxxgmailcom
    name: [email protected]
    track: true

- cal_id: '#[email protected]'
  entities:
  - device_id: contacts
    name: Contacts
    track: true

- cal_id: fr.french#[email protected]
  entities:
  - device_id: jours_feries_en_france
    name: "Jours f\xE9ri\xE9s en France"
    track: true

1 Like

I activated the component and it worked right away :wink:
What i am missing is to have more than only the next event… Example display events next week.
Is something like this possible / planned ?

Yes please, I would like to have next events as well, something like the calendar view from Google would be nice:

(you got this when typing My calendar in google)

2 Likes

hello , bonjour

i dont understand under what we should paste this :

  mesrdv:
    name: mes rdv
    entities:
      - sensor.rdv_arno
      - sensor.rdv_arno_h
  calendrier:
    name: Mon calendrier
    entities:
      - calendar.MAILACCOUNT
      - group.mesrdv
    view: yes

—> in configuration.yalm, under notify: ? under google: ?

is there a french notice for home assistant ?
and must replace MAILACCOUNT with device_id: in google_calendars.yalms ?

Hi
This section is on my configuration.yaml it’s in the group section.

thanks got it working

your example work

@tmatheussen Hi Tom … I was wondering if you ever got it working with next/upcomming events from Google Calendar? I have the same need as you describe but I am unable to find any information on how to get this into HA … Specifically I need to have it implemented into TileBoard.

The events are there, check out this

This is exactly what I want too