Michael Hansen
192ffc09ee
Add area slot to response for cancel all timers ( #131638 )
...
Add area slot to response
2024-11-26 10:58:39 -06:00
Jan-Philipp Benecke
1a71fbe427
Add intent to cancel all timers ( #130873 )
...
* Add intent to cancel all timers
* Add intent to llm test
2024-11-26 09:59:41 -06:00
Michael Hansen
d515a7f063
Add created_seconds to timer info and pass to ESPHome devices ( #120364 )
2024-06-26 14:20:11 +02:00
Michael Hansen
d3ceaef098
Allow timer management from any device ( #120440 )
2024-06-26 09:06:56 +02:00
Michael Hansen
6d917f0242
Don't run timer callbacks for delayed commands ( #120367 )
...
* Don't send timer events for delayed commands
* Don't run timer callbacks for delayed commands
2024-06-24 16:21:51 -04:00
Michael Hansen
3ffbbcfa5c
Allow delayed commands to not have a device id ( #118390 )
2024-05-29 12:39:41 -04:00
Michael Hansen
d223e1f2ac
Add Conversation command to timers ( #118325 )
...
* Add Assist command to timers
* Rename to conversation_command. Execute in timer code.
* Make agent_id optional
* Fix arg
---------
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2024-05-28 20:33:31 -05:00
Michael Hansen
9e1676bee4
Filter timers more when pausing/unpausing ( #118331 )
2024-05-28 19:36:34 -04:00
Paulus Schoutsen
4a3808c08e
Don't crash when firing event for timer for unregistered device ( #118132 )
2024-05-26 13:08:00 +02:00
Paulus Schoutsen
ffc3560dad
Remove unneeded asserts ( #118056 )
...
* Remove unneeded asserts
* No need to guard changing a timer that is owned by a disconnected device
2024-05-24 14:56:57 -04:00
Michael Hansen
5be15c94bc
Require registered device id for all timer intents ( #117946 )
...
* Require device id when registering timer handlers
* Require device id for timer intents
* Raise errors for unregistered device ids
* Add callback
* Add types for callback to __all__
* Clean up
* More clean up
2024-05-24 12:55:52 -05:00
Michael Hansen
e168cb96e9
Add area filter and rounded time to timers ( #117527 )
...
* Add area filter
* Add rounded time to status
* Fix test
* Extend test
* Increase test coverage
2024-05-16 09:45:14 -05:00
Michael Hansen
d441a62aa6
Remove "device_id" slot from timers ( #117460 )
...
Remove "device_id" slot
2024-05-14 15:48:24 -04:00
Michael Hansen
add6ffaf70
Add Assist timers ( #117199 )
...
* First pass at timers
* Move to separate file
* Refactor to using events
* Add pause/unpause/status
* Add ordinal
* Add test for timed Assist command
* Fix name matching
* Fix IntentHandleError
* Fix again
* Refactor to callbacks
* is_paused -> is_active
* Rename "set timer" to "start timer"
* Move tasks to timer manager
* More fixes
* Remove assist command
* Remove cancel by ordinal
* More tests
* Remove async on callbacks
* Export async_register_timer_handler
2024-05-14 14:42:32 -04:00