Daniel Høyer Iversen
b8beae9c6c
Merge pull request #3651 from home-assistant/automation
...
Customize initial state of automation
2016-10-05 09:48:55 +02:00
Daniel
46f3337b07
Customize initial state of automation
2016-10-05 09:20:51 +02:00
Daniel Høyer Iversen
d2d393feb5
Add automations and scripts to group.all_automations and group.all_scripts ( #3664 )
...
* Add automations to group.all_automations
* Add scripts to group.all_scripts
2016-10-04 21:20:48 -07:00
Paulus Schoutsen
d58548dd1c
Address asyncio comments ( #3663 )
...
* Template platforms: create_task instead of yield from
* Automation: less yielding, more create_tasking
* Helpers.script: less yielding, more create_tasking
* Deflake logbook test
* Deflake automation reload config test
* MQTT: Use async_add_job and threaded_listener_factory
* Deflake other logbook test
* lint
* Add test for automation trigger service
* MQTT client can be called from within async
2016-10-03 22:39:27 -07:00
Paulus Schoutsen
8f3e12c9b8
Make Automation.reload_service_handler async
2016-10-01 15:42:17 -07:00
Paulus Schoutsen
56fdc2a625
Automation: call prepare_setup_platform in executor
2016-10-01 14:11:16 -07:00
Paulus Schoutsen
e18825ba20
Automation: only call executor once when processing config
2016-10-01 14:11:16 -07:00
Paulus Schoutsen
7ab7edd81c
Make automation async
2016-10-01 14:11:16 -07:00
Micha LaQua
d31f6bc3f0
Allow hiding automation entities from UIs ( #3442 )
...
* Allow hiding automation entities from UIs
* Flake8 fixes: Allow hiding automation entities from UIs
* Automation: Rework hide entity feature
* Refactor keyword 'hidden' to 'hide_entity' to avoid ambiguity
* Migrate hide_entity subsetting to Voluptuous
2016-09-19 23:39:07 -07:00
Paulus Schoutsen
35b388edce
Reload groups ( #3203 )
...
* Allow reloading groups without restart
* Test to make sure automation listeners are removed.
* Remove unused imports for group tests
* Simplify group config validation
* Add prepare_reload function to entity component
* Migrate group to use entity_component.prepare_reload
* Migrate automation to use entity_component.prepare_reload
* Clean up group.get_entity_ids
* Use cv.boolean for group config validation
2016-09-07 06:59:16 -07:00
Paulus Schoutsen
e9813b219e
Allow reloading automation without restarting HA ( #3002 )
2016-09-04 17:15:52 +02:00
Paulus Schoutsen
c792dd4126
Fix linting
2016-09-01 09:12:42 +01:00
Paulus Schoutsen
3fa1963345
Convert automation to entities with services
2016-08-25 23:36:48 -07:00
Paulus Schoutsen
8257e3f384
Fix automation deprecation warning
2016-05-07 22:31:22 -07:00
Paulus Schoutsen
79653a672d
Script cleanup ( #1963 )
2016-05-02 22:05:09 -07:00
Paulus Schoutsen
6354399d55
Initial script condition support ( #1910 )
2016-04-28 12:03:57 +02:00
Paulus Schoutsen
612a017bc6
Automation: Allow embedding script definition
2016-04-21 22:36:14 -04:00
Paulus Schoutsen
4e568f8b99
Automation: Add trigger context and expose to action
2016-04-21 13:59:42 -07:00
Paulus Schoutsen
948aa6838d
Remove stale print
2016-04-10 18:22:25 -07:00
Paulus Schoutsen
8ef542927f
Add automation config validation
...
* Add automation config validation
* Remove unnecessary dict validator
* Downgrade voluptuous to 0.8.9
* Fix linting
* Address issues
2016-04-04 12:18:58 -07:00
Paulus Schoutsen
956f6056f9
Remove support for old deprecated automation config
2016-03-13 00:00:05 -08:00
Paulus Schoutsen
ddc139b853
Merge pull request #1510 from persandstrom/automation_templating
...
Use templates in service calls
2016-03-11 21:49:47 -08:00
Per Sandström
81e5a852f0
Use templates in service calls
2016-03-10 21:36:05 +01: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
Paulus Schoutsen
825c91f0c3
Add calling service functionality to Alexa
2016-01-08 18:54:28 -08:00
Paulus Schoutsen
d4f0f0ffd3
Update automation url in warning
2015-11-22 15:10:24 -08:00
Fabian Affolter
97f9f8aa49
Update link to docs (Jekyll 3 update)
2015-11-09 13:12:18 +01:00
Paulus Schoutsen
85489010bc
Merge pull request #404 from stefan-jonasson/automation_confg_list
...
Automation confg lists
2015-09-19 20:53:26 -07:00
Stefan Jonasson
40651ef2bc
Fixed old config value conversion
...
Added a new unit test for the config list mode
2015-09-19 21:13:09 +02:00
Paulus Schoutsen
dd4e1cbd1d
Change automation action config keys
2015-09-19 08:43:56 -07:00
Stefan Jonasson
2084976bc2
Fixed suggestions from @balloob
2015-09-19 17:42:21 +02:00
Stefan Jonasson
b9e1b3eb99
Fixed var name + flake8
2015-09-19 15:51:50 +02:00
Stefan Jonasson
e4c5108c9d
Implemented configuration loading from
2015-09-18 18:12:27 +02:00
Paulus Schoutsen
c18294ee76
Allow triggers to be used as condition
2015-09-15 08:56:06 -07:00
Paulus Schoutsen
0584c10ef9
Style fix
2015-09-15 00:11:24 -07:00
Paulus Schoutsen
b2ad8db86b
Add condition type to automation component
2015-09-14 22:51:28 -07:00
Paulus Schoutsen
20f021d05f
Another style fix. Who comes up with this?
2015-09-14 22:14:15 -07:00
Paulus Schoutsen
68c1dd7cd4
Refactor automation configuration
2015-09-14 22:05:40 -07:00
Paulus Schoutsen
dd71e4fdd1
Record in logbook when automation triggered
2015-09-14 00:02:33 -07:00
Paulus Schoutsen
2a11d02fe4
Add if to automation
2015-09-13 22:27:27 -07:00
theolind
a7889ef628
Automation component now supports YAML lists for config key service_entity_id
2015-08-24 21:19:47 +02:00
Paulus Schoutsen
291cc62381
Add automation mqtt tests
2015-08-10 23:11:46 -07:00
Paulus Schoutsen
eecc51c92d
Add tests for automation component
2015-08-10 22:26:12 -07:00
Paulus Schoutsen
044d43b7c2
Adding MQTT automation rule
2015-08-09 17:12:25 -07:00
Paulus Schoutsen
948a5c97ec
Fix a config bug in Automation
2015-03-14 19:18:41 -07:00
Paulus Schoutsen
9ffe35756b
Component Automation - initial version
2015-01-15 23:32:27 -08:00