core/tests/components/statistics
Thomas Dietrich b8f4b76194
Add additional statistics characteristics, remove attributes (#59867)
* Add additional statistics characterics, improve rounding

* Improve name of age_usage_ratio

* Replace difference by three relevant distances

* Refactor attributes, remove stats, add metadata

* Fix binary sensor testcase

* Fix sensor defaults testcase

* Fix and enhance all testcases

* Remove age coverage from attr when not configured

* Refactor so only the relevant characteristic value is calculated

* Rename unclear characteristics, add timebound average

* Fix coverage warning

* Remove explicit functions dict
2021-11-24 13:42:44 +01:00
..
fixtures Move fixtures part 1 (#58902) 2021-11-01 20:47:05 -07:00
__init__.py
test_sensor.py Add additional statistics characteristics, remove attributes (#59867) 2021-11-24 13:42:44 +01:00