Commit graph

316 commits

Author SHA1 Message Date
Andrew Thigpen
11f32d0500 Add is_state_attr method.
Returns True if the entity exists and has an attribute with the given
name and value.
2015-12-31 14:58:18 -06:00
Paulus Schoutsen
f73f824e0e Make template states var callable 2015-12-12 22:19:37 -08:00
Paulus Schoutsen
360b99be59 Add template is_state method 2015-12-12 22:19:12 -08:00
Paulus Schoutsen
2b975c8620 Add flexible error value for value template parsing 2015-12-12 10:35:15 -08:00
Paulus Schoutsen
b1bf6a609e Catch exceptions when error rendering templates 2015-12-11 19:07:03 -08:00
Paulus Schoutsen
5c63862054 Fix template rounding 2015-12-11 18:45:53 -08:00
Paulus Schoutsen
d55fda28c2 Add value renderer helper method 2015-12-10 21:38:35 -08:00
Paulus Schoutsen
7acef84aad Add variable support to template rendering 2015-12-10 21:16:05 -08:00
Paulus Schoutsen
0dcc69d800 Fix template rounding 2015-12-10 20:47:06 -08:00
Paulus Schoutsen
af09a305cf Add multiply template filter 2015-12-10 20:47:06 -08:00
Paulus Schoutsen
de68d3355a Add template support 2015-12-10 20:47:05 -08:00
Paulus Schoutsen
dcfc91e71c Fix throttle applied to methods 2015-10-11 10:42:42 -07:00
Paulus Schoutsen
47fc1deecb Fix throttle to work on instance-level 2015-10-08 23:49:55 -07:00
Paulus Schoutsen
86aea83f64 Device tracker improvements 2015-09-15 23:35:28 -07:00
Paulus Schoutsen
cfc23b0091 Speed up tests 2015-09-12 22:56:49 -07:00
Paulus Schoutsen
0c56fde5a9 Reorg tests folder 2015-07-26 10:17:01 +02:00