Parity With Backend Templates
This release adds almost all of the template extensions described in the Home Assistant templating docs. This includes not only functions, but filters and tests as well.
It also implements a Pythonic datetime module! You'll have access to dates, times, datetimes and timedeltas for use in your templates.
See the README for more details on the available extensions, as some functions vary a little from their Home Assistant jinja2 backend template versions.
Fixes
- Add optional arguments
rounded
andwith_unit
tostates
. - Remove array comparison from
is_state_attr
. - Add nullish checks to some function inputs to prevent nullish values from being compared.
Full Changelog: 1.2.3...1.3.0