Home Assistant Unofficial Reference 2024.12.1
homeassistant.components.caldav.api Namespace Reference

Functions

list[caldav.Calendar] async_get_calendars (HomeAssistant hass, caldav.DAVClient client, str component)
 
str|None get_attr_value (caldav.CalendarObjectResource obj, str attribute)
 

Detailed Description

Library for working with CalDAV api.

Function Documentation

◆ async_get_calendars()

list[caldav.Calendar] homeassistant.components.caldav.api.async_get_calendars ( HomeAssistant  hass,
caldav.DAVClient  client,
str   component 
)
Get all calendars that support the specified component.

Definition at line 8 of file api.py.

◆ get_attr_value()

str | None homeassistant.components.caldav.api.get_attr_value ( caldav.CalendarObjectResource  obj,
str  attribute 
)
Return the value of the CalDav object attribute if defined.

Definition at line 23 of file api.py.