File tree Expand file tree Collapse file tree 1 file changed +20
-0
lines changed
Expand file tree Collapse file tree 1 file changed +20
-0
lines changed Original file line number Diff line number Diff line change @@ -51,6 +51,26 @@ Call the `maint.reset_last_completed` service to mark a task complete. Target a
5151entity or pass ` entry_id ` and ` task_id ` , and optionally include ` last_completed ` to backdate the
5252completion (defaults to today).
5353
54+ Example targeting the Maint binary sensor created for a task:
55+
56+ ``` yaml
57+ service : maint.reset_last_completed
58+ target :
59+ entity_id : binary_sensor.maint_kitchen_filter
60+ data :
61+ last_completed : " 2024-07-15"
62+ ` ` `
63+
64+ Example targeting the task directly when you have its ` entry_id` and `task_id` (no entity needed):
65+
66+ ` ` ` yaml
67+ service: maint.reset_last_completed
68+ data:
69+ entry_id: f6e5d4c3b2a1
70+ task_id: 1234567890ab
71+ last_completed: "2024-07-15"
72+ ` ` `
73+
5474# # What's next
5575
5676- Publish Maint to the HACS default registry so it can be installed without adding a custom
You can’t perform that action at this time.
0 commit comments