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

Classes

class  WebDavTodoListEntity
 

Functions

TodoItem|None _todo_item (caldav.CalendarObjectResource resource)
 
None async_setup_entry (HomeAssistant hass, CalDavConfigEntry entry, AddEntitiesCallback async_add_entities)
 

Variables

 _LOGGER = logging.getLogger(__name__)
 
 SCAN_INTERVAL = timedelta(minutes=15)
 
string SUPPORTED_COMPONENT = "VTODO"
 
dictionary TODO_STATUS_MAP
 

Detailed Description

CalDAV todo platform.

Function Documentation

◆ _todo_item()

TodoItem | None homeassistant.components.caldav.todo._todo_item ( caldav.CalendarObjectResource  resource)
private
Convert a caldav Todo into a TodoItem.

Definition at line 65 of file todo.py.

◆ async_setup_entry()

None homeassistant.components.caldav.todo.async_setup_entry ( HomeAssistant  hass,
CalDavConfigEntry  entry,
AddEntitiesCallback  async_add_entities 
)
Set up the CalDav todo platform for a config entry.

Definition at line 46 of file todo.py.

Variable Documentation

◆ _LOGGER

homeassistant.components.caldav.todo._LOGGER = logging.getLogger(__name__)
private

Definition at line 29 of file todo.py.

◆ SCAN_INTERVAL

homeassistant.components.caldav.todo.SCAN_INTERVAL = timedelta(minutes=15)

Definition at line 31 of file todo.py.

◆ SUPPORTED_COMPONENT

string homeassistant.components.caldav.todo.SUPPORTED_COMPONENT = "VTODO"

Definition at line 33 of file todo.py.

◆ TODO_STATUS_MAP

dictionary homeassistant.components.caldav.todo.TODO_STATUS_MAP
Initial value:
1 = {
2  "NEEDS-ACTION": TodoItemStatus.NEEDS_ACTION,
3  "IN-PROCESS": TodoItemStatus.NEEDS_ACTION,
4  "COMPLETED": TodoItemStatus.COMPLETED,
5  "CANCELLED": TodoItemStatus.COMPLETED,
6 }

Definition at line 34 of file todo.py.