1
0
mirror of https://github.com/home-assistant/core.git synced 2025-05-03 21:49:17 +00:00
Michael Hansen add6ffaf70
Add Assist timers ()
* 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

6 lines
95 B
Python

"""Constants for the Intent integration."""
DOMAIN = "intent"
TIMER_DATA = f"{DOMAIN}.timer"