hass-core/homeassistant/components/sensor
Erik Montnemery e16a8063a5
Compile statistics for energy sensors (#50829)
* Compile statistics for energy sensors

* Update tests

* Rename abs_value to state

* Tweak

* Recreate statistics table

* Pylint

* Try to fix test

* Fix statistics for multiple energy sensors

* Fix energy statistics when last_reset is not set
2021-05-20 13:05:15 +02:00
..
translations [ci skip] Translation update 2021-05-18 00:12:13 +00:00
__init__.py Store sensor last_reset attribute as a string, not a datetime (#50851) 2021-05-19 12:28:00 -07:00
device_condition.py Remove device class timestamp from device condition and trigger (#48431) 2021-04-01 15:05:10 +02:00
device_trigger.py Remove device class timestamp from device condition and trigger (#48431) 2021-04-01 15:05:10 +02:00
group.py Remove HomeAssistantType alias from entity components - Part 2 (#48468) 2021-03-29 13:24:56 -10:00
manifest.json Initial draft of statistics (#49852) 2021-05-16 10:23:37 -07:00
recorder.py Compile statistics for energy sensors (#50829) 2021-05-20 13:05:15 +02:00
significant_change.py Update typing 12 (#48073) 2021-03-18 14:31:38 +01:00
strings.json Remove device class timestamp from device condition and trigger (#48431) 2021-04-01 15:05:10 +02:00