core/homeassistant/components/todo/services.yaml

56 lines
1.1 KiB
YAML
Raw Normal View History

2023-10-23 20:53:00 +00:00
create_item:
target:
entity:
domain: todo
supported_features:
- todo.TodoListEntityFeature.CREATE_TODO_ITEM
fields:
summary:
required: true
2023-10-27 11:28:16 +00:00
example: "Submit income tax return"
2023-10-23 20:53:00 +00:00
selector:
text:
status:
example: "needs_action"
selector:
select:
translation_key: status
options:
- needs_action
- completed
update_item:
target:
entity:
domain: todo
supported_features:
- todo.TodoListEntityFeature.UPDATE_TODO_ITEM
fields:
uid:
selector:
text:
summary:
2023-10-27 11:28:16 +00:00
example: "Submit income tax return"
2023-10-23 20:53:00 +00:00
selector:
text:
status:
example: "needs_action"
selector:
select:
translation_key: status
options:
- needs_action
- completed
delete_item:
target:
entity:
domain: todo
supported_features:
- todo.TodoListEntityFeature.DELETE_TODO_ITEM
fields:
uid:
selector:
object:
summary:
selector:
object: