Files
core/homeassistant
Odin Ugedal 0668fba7bd Add support for logarithm in templates (#10824)
* Add support for logarithm in templates

This adds a 'log' filter that takes the logarithm of the given value,
with an optional base number. The base defaults to 'e' - the natural
logarithm

* Remove usage of log10 in template filter 'log'

* Add logarithm as a global

This makes it possible to write:
'{{ log(4, 2) }}'
2017-11-27 21:29:01 -08:00
..
2016-03-08 00:06:04 +01:00
2017-11-03 14:19:36 +01:00
2017-11-11 12:15:13 -08:00
2017-11-03 07:43:30 -07:00