Commit graph

5 commits

Author SHA1 Message Date
ChristianKuehnel
b620c433c0 Initializing statistics sensor with data from database ()
* Initializing statistics sensor with data from database

* fixed broken test case

* usage of recorder component is now optional, thx to @andrey-git

* added test case for initialize_from_database
2017-10-08 23:45:12 +02:00
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