Greg Dowling
dfd76fc0e6
Minor tidy of voluptuous. ( #2945 )
2016-08-22 23:57:07 -07:00
Greg Dowling
eac67fd971
Add voluptuous to template switch ( #2940 )
...
* Add voluptuous to template switch / revise tests.
2016-08-23 00:05:45 +02:00
Paulus Schoutsen
271546d101
Merge branch 'pr/2251' into dev
...
Conflicts:
homeassistant/components/switch/template.py
2016-06-07 19:16:14 -07:00
Johann Kellerman
d1ed17e7db
Default parameter for .run()
2016-06-07 23:00:09 +02:00
Johann Kellerman
ed44d28fc0
service helper replaced with script helper ( #2242 )
2016-06-06 07:36:04 -07:00
Johann Kellerman
d5f9c1bc01
Updated template switch to cache Script objects
2016-06-06 06:41:29 +02:00
Johann Kellerman
8887c2a8af
service helper replaced with script helper
2016-06-05 21:44:57 +02:00
Paulus Schoutsen
3ac31b2c1b
Fix broken tests + linting
2016-05-30 10:19:12 -07:00
Paulus Schoutsen
a91f937245
Fix linting issues
2016-05-30 10:08:49 -07:00
Bart274
65fbba0e79
List entity_ids in config and only react to them ( #2144 )
...
* List entity_ids in config and only react to them
This allows us to define a list of entity_ids in the config to make the
template sensor, binary sensor and switch only react to state changes of
these entities instead of listening to all state changes.
* Forgot to import the track_state_change function
* Changed test for added entity_ids to config
* Use default MATCH_ALL and remove event_listener
2016-05-29 14:34:21 -07:00
Paulus Schoutsen
41f205e09d
Clean up template platforms
2016-03-24 23:22:17 -07:00
pavoni
4e7160139e
Fix race condition in template components.
2016-03-17 12:10:19 +00:00
Fabian Affolter
49ebc6d0b0
Fix PEP257 issues
2016-03-08 13:35:39 +01:00
pavoni
4e3c8a8697
Fix noisy error on startup. Make callbacks code consistent.
2016-03-06 19:19:07 +00:00
Fabian Affolter
582394bc3b
Modify import of template and PEP257
2016-02-23 21:19:22 +01:00
Paulus Schoutsen
e80309c03c
Fix imports (using isort)
2016-02-18 21:27:50 -08:00
pavoni
2622cf2e53
Use available, remove state, improve true,false tests.
2016-02-05 11:18:50 +00:00
pavoni
ced380f0cd
Remove unneeded entity_id check and blank lines.
2016-02-04 17:24:38 +00:00
pavoni
b20d3f8b3a
Update docstrings.
2016-02-03 23:23:19 +00:00
pavoni
6e6c3c5cd5
Tidy.
2016-02-03 14:30:58 +00:00
pavoni
5521096c02
Add actions.
2016-02-03 14:29:25 +00:00
pavoni
9a9dbcfaea
Refactor, support template logic values, add tests.
2016-02-03 13:16:13 +00:00
pavoni
a955f3db08
WIP commit - template state working, on / off still to do.
2016-02-02 19:25:17 +00:00