combine_calendars tells the card to detect these duplicates and merge them into a single display event, with a configurable visual indicator that communicates the event spans more than one calendar source.
How Deduplication Works
Whencombine_calendars is true, the card compares every event loaded from your calendar entities. Two events are considered duplicates if they share the same title, start time, and end time. When a match is found, the events are merged into one chip, and a small indicator is added to show that the event came from multiple sources.
The merged event inherits the color of the first matching source calendar unless overridden by an event_styles rule.
Configuration
Set to
true to enable event deduplication. When enabled, events with identical title, start time, and end time are merged into a single display event.The visual style used to indicate that a displayed event was combined from multiple calendar sources. Accepted values:
bars— parallel colored bars along the side of the event chip, one per source calendarstripes— a diagonal stripe pattern on the event chip backgrounddots— small colored dots displayed on the event chip, one per source calendar
Controls the background color applied to combined events. Accepted values:
primary— uses the color of the primary (first) source calendarneutral— uses a neutral gray that does not favor any single calendar- A hex color string (e.g.
'#E8EAF6') — applies a fixed custom color to all combined events
The width in pixels of the combine indicator strip rendered on the event chip. Increase this value if you want the bars, stripes, or dots to be more prominent.
Example
The following configuration loads three calendar entities and merges any events that appear in more than one of them, displaying a colored bar strip on combined events.Using All Three Combine Styles
Choose the style that best fits your card’s visual theme:Deduplication requires an exact match on title, start time, and end time. If the same real-world event is stored with slightly different times across calendars — for example, due to timezone conversion differences of even one minute — the events will not be merged and will appear as separate chips. If you notice duplicates that are not being merged, check whether the event times are truly identical in both calendar sources.
