core/tests/components/statistics
Thomas Dietrich 9eaf8bd21b
Fix statistics precision handling (#59202)
* Fix statistics precision error when configured 0, fix #42547

* Add tests for statistics precision

* Apply precision=0 logic to float numbers only

* Implement contextlib way of exception handling
2021-11-08 23:26:00 +01:00
..
fixtures Move fixtures part 1 (#58902) 2021-11-01 20:47:05 -07:00
__init__.py
test_sensor.py Fix statistics precision handling (#59202) 2021-11-08 23:26:00 +01:00