mirror of
https://github.com/home-assistant/core.git
synced 2025-07-24 05:37:44 +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."""
|
||||
|
||||
due: datetime.date | datetime.datetime | None = None
|
||||
"""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.
|
||||
"""
|
||||
"""The date and time that a to-do is expected to be completed."""
|
||||
|
||||
description: str | None = None
|
||||
"""A more complete description of than that provided by the summary.
|
||||
|
||||
This field may be set when TodoListEntityFeature.DESCRIPTION is supported by
|
||||
the entity.
|
||||
"""
|
||||
"""A more complete description than that provided by the summary."""
|
||||
|
||||
|
||||
CACHED_PROPERTIES_WITH_ATTR_ = {
|
||||
|
Loading…
x
Reference in New Issue
Block a user