Namespaces | |
| const | |
| intent | |
Classes | |
| class | TodoItem |
| class | TodoItemFieldDescription |
| class | TodoListEntity |
Variables | |
| _LOGGER = logging.getLogger(__name__) | |
| dictionary | CACHED_PROPERTIES_WITH_ATTR_ |
| string | ENTITY_ID_FORMAT = DOMAIN + ".{}" |
| PLATFORM_SCHEMA = cv.PLATFORM_SCHEMA | |
| PLATFORM_SCHEMA_BASE = cv.PLATFORM_SCHEMA_BASE | |
| SCAN_INTERVAL = datetime.timedelta(seconds=60) | |
| dictionary | TODO_ITEM_FIELD_SCHEMA |
| list | TODO_ITEM_FIELD_VALIDATIONS = [cv.has_at_most_one_key(ATTR_DUE_DATE, ATTR_DUE_DATETIME)] |
| list | TODO_ITEM_FIELDS |
The todo integration.
|
private |
Convert CalendarEvent dataclass items to dictionary of attributes.
Definition at line 366 of file __init__.py.
|
private |
Add an item to the To-do list.
Definition at line 461 of file __init__.py.
|
private |
Return items in the To-do list.
Definition at line 523 of file __init__.py.
|
private |
Remove all completed items from the To-do list.
Definition at line 536 of file __init__.py.
|
private |
Remove an item in the To-do list.
Definition at line 508 of file __init__.py.
|
private |
Update an item in the To-do list.
Definition at line 477 of file __init__.py.
|
private |
Find a To-do List item by uid or summary name.
Definition at line 451 of file __init__.py.
|
private |
Validate service call fields against entity supported features.
Definition at line 100 of file __init__.py.
| bool homeassistant.components.todo.async_setup | ( | HomeAssistant | hass, |
| ConfigType | config | ||
| ) |
Set up Todo entities.
Definition at line 115 of file __init__.py.
| bool homeassistant.components.todo.async_setup_entry | ( | HomeAssistant | hass, |
| ConfigEntry | entry | ||
| ) |
Set up a config entry.
Definition at line 198 of file __init__.py.
| bool homeassistant.components.todo.async_unload_entry | ( | HomeAssistant | hass, |
| ConfigEntry | entry | ||
| ) |
Unload a config entry.
Definition at line 203 of file __init__.py.
| None homeassistant.components.todo.websocket_handle_subscribe_todo_items | ( | HomeAssistant | hass, |
| websocket_api.ActiveConnection | connection, | ||
| dict[str, Any] | msg | ||
| ) |
Subscribe to To-do list item updates.
Definition at line 331 of file __init__.py.
| None homeassistant.components.todo.websocket_handle_todo_item_list | ( | HomeAssistant | hass, |
| websocket_api.ActiveConnection | connection, | ||
| dict[str, Any] | msg | ||
| ) |
Handle the list of To-do items in a To-do- list.
Definition at line 386 of file __init__.py.
| None homeassistant.components.todo.websocket_handle_todo_item_move | ( | HomeAssistant | hass, |
| websocket_api.ActiveConnection | connection, | ||
| dict[str, Any] | msg | ||
| ) |
Handle move of a To-do item within a To-do list.
Definition at line 421 of file __init__.py.
|
private |
Definition at line 48 of file __init__.py.
| dictionary homeassistant.components.todo.CACHED_PROPERTIES_WITH_ATTR_ |
Definition at line 236 of file __init__.py.
| string homeassistant.components.todo.ENTITY_ID_FORMAT = DOMAIN + ".{}" |
Definition at line 50 of file __init__.py.
| homeassistant.components.todo.PLATFORM_SCHEMA = cv.PLATFORM_SCHEMA |
Definition at line 51 of file __init__.py.
| homeassistant.components.todo.PLATFORM_SCHEMA_BASE = cv.PLATFORM_SCHEMA_BASE |
Definition at line 52 of file __init__.py.
| homeassistant.components.todo.SCAN_INTERVAL = datetime.timedelta(seconds=60) |
Definition at line 53 of file __init__.py.
| dictionary homeassistant.components.todo.TODO_ITEM_FIELD_SCHEMA |
Definition at line 94 of file __init__.py.
| list homeassistant.components.todo.TODO_ITEM_FIELD_VALIDATIONS = [cv.has_at_most_one_key(ATTR_DUE_DATE, ATTR_DUE_DATETIME)] |
Definition at line 97 of file __init__.py.
| list homeassistant.components.todo.TODO_ITEM_FIELDS |
Definition at line 73 of file __init__.py.