Commit Graph

12 Commits (5cea8fda9f6c3800274bf67121303395de542f24)

Author SHA1 Message Date
Fabian Affolter 7aba78f96e Update docstrings 2016-01-27 00:08:06 +01:00
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