1
mirror of https://github.com/home-assistant/core synced 2024-09-18 19:55:20 +02:00
ha-core/tests/components/utility_meter
Diogo Gomes 03874d1b65
Correct state restoring for Utility Meter sensors (#66851)
* fix merge

* backward compatability

* add status

* increase coverage

* increase further the coverage

* adds support for Decimal in SensorExtraStoredData

* more precise

* review

* don't restore broken last_reset

* increase coverage

* address review comments

* stale

* coverage increase

* Update homeassistant/components/utility_meter/sensor.py

Co-authored-by: Erik Montnemery <erik@montnemery.com>

* catch corrupt files and respective tests

Co-authored-by: Erik Montnemery <erik@montnemery.com>
2022-04-19 09:01:52 +02:00
..
__init__.py
test_config_flow.py Make utility_meter tariffs a list (#68967) 2022-03-31 13:57:26 +02:00
test_init.py Remove EVENT_TIME_CHANGED and EVENT_TIMER_OUT_OF_SYNC (#69643) 2022-04-09 09:05:54 -10:00
test_sensor.py Correct state restoring for Utility Meter sensors (#66851) 2022-04-19 09:01:52 +02:00