Skip to content

Commit

Permalink
Update todo.md
Browse files Browse the repository at this point in the history
minor typos
  • Loading branch information
uSlackr authored Feb 12, 2024
1 parent bef7756 commit 1f22bc5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/todo.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ title: To-Do Lists
nav_order: 9
---

# T Do Lists
# To-Do Lists

One To-Do List entity is created for each to-do list on the user account. Each sensor shows the number of incomplete to-do as the status of the sensor. The `all_todos` attribute is an array of incomplete to-dos. The `overdue_todos` attribute shows any to-dos which have a due date and are overdue as an array.
One To-Do List entity is created for each to-do list on the user account. Each sensor shows the number of incomplete to-do item as the status of the sensor. The `all_todos` attribute is an array of incomplete to-dos. The `overdue_todos` attribute shows any to-dos which have a due date and are overdue as an array.

### Display
In order to show the to-dos in the front end either use the HA inbuilt To-Do panel or a markdown card can be used. The following is an example that allows you to display a bulleted list subject from the `all_todos` array of todos.
Expand All @@ -17,4 +17,4 @@ content: |-
{% raw %}{% for todo in state_attr('todo.todos_sc_personal', 'all_todos') -%}
- {{ todo['subject'] }}
{% endfor %}{% endraw %}
```
```

0 comments on commit 1f22bc5

Please sign in to comment.