Commit graph

10 commits

Author SHA1 Message Date
Bram Kragten
7ba1736637
Filter by supported features for todo services (#106241) 2023-12-22 21:22:16 +01:00
Franck Nijhof
3f28354a00
Fix missing target in todo.remove_completed_items service (#105127) 2023-12-06 14:39:27 +01:00
Martin Hjelmare
5f44dadb66
Rename todo due_date_time parameter to due_datetime (#104698)
* Rename todo due_date_time parameter to due_datetime

* Apply suggestions from code review

---------

Co-authored-by: c0ffeeca7 <38767475+c0ffeeca7@users.noreply.github.com>
2023-11-29 13:11:15 +01:00
Allen Porter
b8cc3349be
Add To-do due date and description fields (#104128)
* Add To-do due date and description fields

* Fix due date schema

* Revert devcontainer change

* Split due date and due date time

* Add tests for config validation function

* Add timezone converstion tests

* Add local todo due date/time and description implementation

* Revert configuration

* Revert test changes

* Add comments for the todo item field description

* Rename function _validate_supported_features

* Fix issues in items factory

* Readability improvements

* Apply suggestions from code review

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>

* Rename CONF to ATTR usages

* Simplify local time validator

* Rename TodoListEntityFeature fields for setting extended fields

* Remove duplicate validations

* Update subscribe test

* Fix local_todo tests

---------

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2023-11-28 13:01:12 +01:00
Robert Resch
9d3f374728
Add todo.remove_completed_items service call (#104035)
* Extend `remove_item` service by status

* update services.yaml

* Create own service

* add tests

* Update tests/components/todo/test_init.py

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>

---------

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2023-11-20 22:39:22 +01:00
Allen Porter
5f13faac76
Add the todo.get_items service (#103285) 2023-11-15 11:41:29 +01:00
Robert Resch
8e2c2e5cc5
Fix todo.remove_item frontend (#103108) 2023-10-31 10:06:42 +01:00
Robert Resch
d97a030872
Refactor todo services and their schema (#103079) 2023-10-30 21:43:24 +01:00
Franck Nijhof
c77a3facf5
Some textual fixes for todo (#102895) 2023-10-27 13:28:16 +02:00
Allen Porter
5d430f53cd
Add todo component (#100019) 2023-10-23 22:53:00 +02:00