1
0
mirror of https://github.com/home-assistant/core.git synced 2025-07-30 08:47:09 +00:00

4 Commits

Author SHA1 Message Date
Lukas Barth
3a0e38aa73 Add max_age to statistics sensor ()
* Add max_age to statistics sensor

* Allow only non-zero sampling sizes

* Fix long line

* Fix style
2017-08-30 17:13:36 +02:00
Jacob Minnis
bb6fe822f9 Added 'change' field to statistics sensor ()
* Added 'change' field to statistics sensor

* Updated statistics sensor test

* Updated statistics sensor test complaint
2017-06-07 09:38:00 +02:00
Paulus Schoutsen
2650c73a89 Split bootstrap into bs + setup ()
* Split bootstrap into bs + setup

* Lint
2017-03-05 10:41:54 +01:00
Fabian Affolter
74b0e4cb45 Statistics sensor ()
* Initial stats sensor

* Add total and tests

* Use deque, rename var, set default, and only update sensor
2016-10-04 01:04:00 -07:00