Skip to content

Commit

Permalink
doc: Add example for exclude attribute
Browse files Browse the repository at this point in the history
  • Loading branch information
RogerSelwyn committed Mar 4, 2024
1 parent ac43e4c commit b14c414
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions docs/calendar_configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,3 +61,13 @@ To configure a Group Calendar, add an extra section to `o365_calendars_<account_
start_offset: 0
track: true
```

## Exclude

To exclude calendar items from being displayed, e.g. cancelled events, the exclude attribute can be used. This takes straight strings or can be configured with a regex for more complex exclusions.

```yaml
exclude:
- "Cancelled"
- "^In.*Junk$"
```

0 comments on commit b14c414

Please sign in to comment.