Paulus Schoutsen
5085cdb0f7
Add async_safe annotation ( #3688 )
...
* Add async_safe annotation
* More async_run_job
* coroutine -> async_save
* Lint
* Rename async_safe -> callback
* Add tests to core for different job types
* Add one more test with different type of callbacks
* Fix typing signature for callback methods
* Fix callback service executed method
* Fix method signatures for callback
2016-10-04 20:44:32 -07:00
Paulus Schoutsen
7ab7edd81c
Make automation async
2016-10-01 14:11:16 -07:00
Paulus Schoutsen
aca375c312
Asyncio event helpers ( #3415 )
...
* Automation - Event: Use coroutine
* Convert event helpers to coroutine
* Fix linting
* Add hass.async_add_job
* Automation - Event to use async_add_job
2016-09-17 18:28:01 -07:00
Paulus Schoutsen
3fa1963345
Convert automation to entities with services
2016-08-25 23:36:48 -07:00
Paulus Schoutsen
6354399d55
Initial script condition support ( #1910 )
2016-04-28 12:03:57 +02:00
Paulus Schoutsen
4e568f8b99
Automation: Add trigger context and expose to action
2016-04-21 13:59:42 -07:00
Fabian Affolter
fb7bd1bfe1
Fix PEP257 issues
2016-03-07 20:20:07 +01:00
Fabian Affolter
6ac9210919
Modify docstrings to match PEP257
2016-03-07 18:50:30 +01:00
Fabian Affolter
97f9f8aa49
Update link to docs (Jekyll 3 update)
2015-11-09 13:12:18 +01:00
Fabian Affolter
c5c2f0c5f3
Add link to docs
2015-10-13 21:07:24 +02:00
Paulus Schoutsen
9019d654d7
Event automation fuzzy matches on data
2015-09-19 08:27:34 -07:00
Paulus Schoutsen
2a11d02fe4
Add if to automation
2015-09-13 22:27:27 -07:00
andythigpen
bb858fdddc
Fix issue with automation event data after YAML conversion.
...
No need to convert to dict using json.loads when PyYAML will do that
automatically.
2015-03-07 16:10:35 -06:00
andythigpen
7951137693
Adds event automation module.
...
When events are fired with matching data, the automation.event module
executes the corresponding action for automation rules.
2015-02-23 20:42:37 -06:00