Fabian Affolter
b534244e40
Fix PEEP257 issues
2016-03-08 17:55:57 +01:00
Fabian Affolter
b8a40457ee
Update docstrings to match PEP257
2016-03-07 18:50:30 +01:00
Paulus Schoutsen
f623a332cf
Fix incorrectly setting can_cancel on scripts
2016-02-27 23:11:51 -08:00
Andrew Thigpen
7dd529356a
Add toggle support for scripts.
2016-02-21 11:22:38 -06:00
Andrew Thigpen
b961b5037f
Only turn on scripts that are not currently running.
...
Prevents an errant API call from advancing a currently executing delay
step before it should.
2016-02-21 11:11:35 -06:00
Paulus Schoutsen
e80309c03c
Fix imports (using isort)
2016-02-18 21:27:50 -08:00
Paulus Schoutsen
bc19ef66bf
Move split_entity_id to helpers
2016-01-23 22:49:49 -08:00
Paulus Schoutsen
a91163877f
Script: use config service helper
2016-01-21 22:47:25 -08:00
Paulus Schoutsen
0a711922ef
Remove unnecessary instance variable
2016-01-14 23:19:08 -08:00
Paulus Schoutsen
b2ae365558
Scripts call services in blocking manner
2015-12-06 11:03:31 -08:00
Paulus Schoutsen
a301d869d7
PyLint 1.5 fixes
2015-11-29 13:49:05 -08:00
Paulus Schoutsen
2861bbb02c
Warn if config invalid shape for script
2015-11-26 13:08:13 -08:00
Paulus Schoutsen
e2c530b85d
Script: new attribute if can cancel
2015-11-14 15:38:07 -08:00
Fabian Affolter
97f9f8aa49
Update link to docs (Jekyll 3 update)
2015-11-09 13:12:18 +01:00
Paulus Schoutsen
12495c717e
Fix script regression
2015-10-28 12:24:33 -07:00
Fabian Affolter
415d650860
Add link to docs
2015-10-25 15:58:58 +01:00
Paulus Schoutsen
347597ebdc
Base Script on entity
2015-10-14 23:15:48 -07:00
Stefan Jonasson
be9cfbdeb0
Fixed docblock
2015-09-19 14:45:56 +02:00
Paulus Schoutsen
13d40fe6ec
Allow firing events in script
2015-09-13 23:54:48 -07:00
Paulus Schoutsen
382c1de981
Built-in components no longer use deprecated methods
2015-08-03 17:08:13 +02:00
Andrew Thigpen
ef138bb132
Fix utc issue with script component.
2015-05-14 18:54:13 -05:00
andythigpen
046efe3acb
Adds script component.
...
A script is composed of a sequence of actions (currently service calls)
that are executed in order. Individual actions can also be delayed by a
given timedelta.
2015-03-14 21:29:55 -05:00