Skip to content

Create an overall overview for one or more calendars for a number of days and a max number of events.

Notifications You must be signed in to change notification settings

kgn3400/calendar_merge

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Calendar merge helper

GitHub release (latest by date) GitHub all releases GitHub last commit GitHub code size in bytes Validate% with hassfest

The calendar merge helper allows you to create an overall overview for one or more calendars. For a certain number of days into the future and a maximum number of events.

There will be created a calendar with the merged calendar events and a main sensor with the number of calendar events. And attributes with events formatted and raw to create the markdown text or used a template. And for each event there will be created a sensor with a postfix _event_0 to _event_x with the summary and the event date. Please note that changes to the monitored calendars first will be reflected in the Calendar merge helper within a couple of minutes.

For installation instructions until the Calendar merge helper is part of HACS, see this guide. Or click My Home Assistant

Configuration

Configuration is setup via UI in Home assistant. To add one, go to Settings > Devices & Services > Helpers and click the add button. Next choose the Calendar events helper option.

Or click Open your Home Assistant instance and start setting up a new integration.

Config


Config



State attribute
Template variable
description Example
calender Name of the calendar. Google Calendar
start Start of the event. 2024-07-03T00:21:00+00:00
end End of the event. 2024-07-03T00:22:00+00:00
all_day All day event. false
summary Event summary. Home Assistant release party
description Event description. New features in Home Assistant
location Event location. Online
formatted_start formatted start. Jul 3, 2024, 9:00 PM
formatted_end Event location. Jul 3, 2024, 10:00 PM
formatted_event_time Event location. in 1 week
formatted_event Event location. Home Assistant release party : in 1 week

It's possible to rotate between multiple Calendar events in the same card by using the Carousel helper integration

Actions

Available actions: toggle_show_as_time_to

action calendar_merge.toggle_show_as_time_to

Toggle 'Show calendar event as time to' option.