Classes | |
| class | LocalTodoListEntity |
Functions | |
| Todo | _convert_item (TodoItem item) |
| bool | _migrate_calendar (Calendar calendar) |
| None | async_setup_entry (HomeAssistant hass, LocalTodoConfigEntry config_entry, AddEntitiesCallback async_add_entities) |
Variables | |
| _LOGGER = logging.getLogger(__name__) | |
| dictionary | ICS_TODO_STATUS_MAP |
| dictionary | ICS_TODO_STATUS_MAP_INV |
| string | PRODID = "-//homeassistant.io//local_todo 2.0//EN" |
| string | PRODID_REQUIRES_MIGRATION = "-//homeassistant.io//local_todo 1.0//EN" |
A Local To-do todo platform.
|
private |
|
private |
Upgrade due dates to rfc5545 format. In rfc5545 due dates are exclusive, however we previously set the due date as inclusive based on what the user set in the UI. A task is considered overdue at midnight at the start of a date so we need to shift the due date to the next day for old calendar versions.
| None homeassistant.components.local_todo.todo.async_setup_entry | ( | HomeAssistant | hass, |
| LocalTodoConfigEntry | config_entry, | ||
| AddEntitiesCallback | async_add_entities | ||
| ) |
|
private |
| dictionary homeassistant.components.local_todo.todo.ICS_TODO_STATUS_MAP |
| dictionary homeassistant.components.local_todo.todo.ICS_TODO_STATUS_MAP_INV |
| string homeassistant.components.local_todo.todo.PRODID = "-//homeassistant.io//local_todo 2.0//EN" |