mirror of
https://github.com/home-assistant/core.git
synced 2025-07-23 21:27:38 +00:00
Correct TodoItem docstrings (#142066)
This commit is contained in:
parent
36857b4b20
commit
795e01512a
@ -219,18 +219,10 @@ class TodoItem:
|
|||||||
"""A status or confirmation of the To-do item."""
|
"""A status or confirmation of the To-do item."""
|
||||||
|
|
||||||
due: datetime.date | datetime.datetime | None = None
|
due: datetime.date | datetime.datetime | None = None
|
||||||
"""The date and time that a to-do is expected to be completed.
|
"""The date and time that a to-do is expected to be completed."""
|
||||||
|
|
||||||
This field may be a date or datetime depending whether the entity feature
|
|
||||||
DUE_DATE or DUE_DATETIME are set.
|
|
||||||
"""
|
|
||||||
|
|
||||||
description: str | None = None
|
description: str | None = None
|
||||||
"""A more complete description of than that provided by the summary.
|
"""A more complete description than that provided by the summary."""
|
||||||
|
|
||||||
This field may be set when TodoListEntityFeature.DESCRIPTION is supported by
|
|
||||||
the entity.
|
|
||||||
"""
|
|
||||||
|
|
||||||
|
|
||||||
CACHED_PROPERTIES_WITH_ATTR_ = {
|
CACHED_PROPERTIES_WITH_ATTR_ = {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user