I have successfully setup the caldav integration as follows:
- platform: caldav
url: https://caldav.icloud.com
username: !secret icloud_email
password: !secret icloud_pass
calendars:
- "Fam Cal"
I can get the current event title by interrogating states.calendar.fam_cal.attributes.message as such:
- platform: template
sensors:
cal_upcoming_appt_msg:
friendly_name: 'Upcoming'
value_template: >-
{{ states.calendar.fam_cal.attributes.message }}
However, I would like to get a list of this weeks events and also a list of next weeks events
Any examples of doing this ?