core/homeassistant/components/statistics
enzo2 35be5957c3
Add circular mean to statistics integration (#98930)
* Add circular mean

Add support for circular mean for sensors in units of degrees, e.g. direction data.

* Update test_sensor.py

* Update sensor.py

* Remove whitespace

* Revert to degC

* Fix: shift atan2 output to positive degrees

* Add new dedicated test

* Simplify test
2023-10-07 13:51:27 +02:00
..
__init__.py
manifest.json
sensor.py Add circular mean to statistics integration (#98930) 2023-10-07 13:51:27 +02:00
services.yaml
strings.json