Skip to content

Commit

Permalink
Updated config example in README.
Browse files Browse the repository at this point in the history
  • Loading branch information
Konstantin Grinkevich committed Feb 23, 2021
1 parent 20ba33c commit 578312f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
7 changes: 5 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,9 @@ Typical example of using this card in YAML config would look like this:
type: 'custom:todoist-card'
entity: sensor.to_do_list
show_header: true
show_item_add: true
show_item_close: true
show_item_delete: true
only_today_overdue: false
```

Expand All @@ -88,9 +91,9 @@ Here is what every option means:
| `type` | `string` | **required** | `custom:todoist-card` |
| `entity` | `string` | **required** | An entity_id within the `sensor` domain. |
| `show_header` | `boolean` | `true` | Show friendly name of the selected `sensor` in the card header. |
| `show_item_add` | `boolean` | `true` | Show text input element for adding new items to list. |
| `show_item_add` | `boolean` | `true` | Show text input element for adding new items to the list. |
| `show_item_close` | `boolean` | `true` | Show `close/complete` buttons. |
| `show_item_delete` | `boolean` | `true` | Show `delete` buttons |
| `show_item_delete` | `boolean` | `true` | Show `delete` buttons. |
| `only_today_overdue` | `boolean` | `false` | Only show tasks that are overdue or due today. |

## Actions
Expand Down
2 changes: 1 addition & 1 deletion todoist-card.js
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ class TodoistCardEditor extends LitElement {
@change=${this.valueChanged}
>
</ha-switch>
Show text input element for adding new items to list
Show text input element for adding new items to the list
</p>
<p class="option">
Expand Down

0 comments on commit 578312f

Please sign in to comment.