Commit graph

24 commits

Author SHA1 Message Date
Marc Mueller
816ce116bf
Remove unnecessary functools.cached_property backport (#114239) 2024-04-04 11:24:26 +02:00
Jan Bouwhuis
3dc8df2403
Get ServiceValidationError message from translation cache only (#113704)
* Get ServiceValidationError message from translation cache only

* Remove message for NotValidPresetModeError
2024-03-18 14:42:21 +01:00
Sid
82a60fe8ad
Enable Ruff RSE (#113695) 2024-03-18 00:40:38 +01:00
Marc Mueller
062cc4bfce
Add empty line after module docstring [t-v] (#112705) 2024-03-08 10:35:23 -05:00
Franck Nijhof
942636ffd6
Add todo icon translations (#108477) 2024-01-20 14:32:47 -05:00
Allen Porter
350806c036
Make to-do list item exception wording consistent (#107743) 2024-01-10 22:49:25 +01:00
Allen Porter
943fb2791e
Improve To-do service error handling (#106886) 2024-01-02 19:50:28 +01:00
Franck Nijhof
faa2129e96
Mark todo entity component as strictly typed (#106718) 2023-12-30 14:32:44 +01:00
Allen Porter
2497798b5d
Allow clearing To-do list item extended fields (#106208) 2023-12-27 13:14:59 +01:00
J. Nick Koston
278c7ac2a5
Add support for attribute caching to the todo platform (#106341) 2023-12-23 15:15:09 -10:00
Bram Kragten
7ba1736637
Filter by supported features for todo services (#106241) 2023-12-22 21:22:16 +01:00
Michael Hansen
6c5ca58405
Set todo item status in intent (#105743) 2023-12-14 22:53:22 +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
Allen Porter
a1aff5f4a0
Add websocket todo/item/subscribe for subscribing to changes to todo list items (#103952)
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2023-11-28 08:27:51 +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
Michael Hansen
be8507f870
Add HassListAddItem intent (#103716)
* Add HassListAddItem intent

* Add missing list test
2023-11-14 13:00:30 -05: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
af9cae289f
Change todo move API to reference previous uid (#102795) 2023-10-26 18:43:10 +02:00
Allen Porter
5d430f53cd
Add todo component (#100019) 2023-10-23 22:53:00 +02:00