1
0
mirror of https://github.com/home-assistant/core.git synced 2026-07-26 07:55:35 +01:00
Files
core/tests/components
Diogo Gomes b211a1faa7 Fix utility meter restore state (#66490)
* Address #63874

* avoid setting _last_period to None

* name is always set in discovery

* ValueError never happens only DecimalException

* async_tariff_change tracks state change - state machine will not pass a None

* test we only reset one utility_meter

* test corrupted restored state

* pretty sure _current_tariff doesn't change from init until here

* missing assert

* Revert "async_tariff_change tracks state change - state machine will not pass a None"

This reverts commit 24fc04a964.

* address review comment

* always a Decimal
2022-02-15 02:16:30 +01:00
..
2022-01-26 10:34:33 +01:00
2022-02-05 14:19:37 +01:00
2022-01-29 16:01:00 +02:00
2022-02-12 11:49:37 -06:00
2022-01-20 22:09:36 -08:00
2022-01-30 20:12:44 -08:00
2022-02-14 11:05:06 +01:00
2022-01-22 16:38:38 -08:00
2022-02-12 08:15:36 -08:00
2022-02-08 22:02:45 +01:00
2022-02-11 20:52:31 -06:00
2022-02-12 08:28:54 -06:00
2022-01-26 10:58:06 +01:00
2022-02-12 08:13:01 -06:00
2022-02-08 10:03:27 +01:00
2022-01-25 20:20:11 -10:00
2022-02-06 16:50:44 -06:00
2022-02-14 08:54:12 -08:00
2022-01-31 17:04:46 -08:00
2022-02-04 10:50:24 +01:00