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 24fc04a964139e5cfecbfa20f91e2d30ab145d77.

* address review comment

* always a Decimal
2022-02-15 02:16:30 +01:00
..
2022-01-19 21:06:26 +01:00
2021-11-01 20:47:05 -07:00
2021-11-01 20:47:05 -07:00
2022-01-17 19:22:11 -08:00
2021-08-17 17:29:20 +02:00
2022-01-17 15:26:21 +01:00
2021-11-01 20:47:05 -07:00
2022-01-26 10:34:33 +01:00
2021-11-01 20:47:05 -07:00
2022-02-05 14:19:37 +01:00
2021-11-01 20:47:05 -07:00
2021-11-01 20:47:05 -07:00
2021-09-13 18:18:21 +02:00
2022-01-29 16:01:00 +02:00
2021-12-27 19:50:43 +01:00
2022-02-12 11:49:37 -06:00
2021-11-29 20:00:39 -05:00
2022-01-05 15:34:33 +01:00
2021-11-01 20:47:05 -07:00
2021-12-12 14:09:45 -08:00
2021-12-20 16:18:58 +01:00
2022-01-05 15:34:33 +01:00
2022-01-20 22:09:36 -08:00
2022-01-30 20:12:44 -08:00
2021-11-01 20:47:05 -07:00
2021-12-15 23:25:40 +02:00
2022-01-05 15:34:33 +01:00
2021-11-01 20:47:05 -07:00
2021-02-28 14:16:37 +01:00
2021-11-01 20:47:05 -07:00
2022-01-18 11:02:43 -08:00
2022-01-11 21:28:13 +01:00
2022-02-14 11:05:06 +01:00
2022-01-22 16:38:38 -08:00
2021-12-22 09:16:37 +01:00
2022-02-12 08:15:36 -08:00
2021-11-01 20:47:05 -07:00
2021-11-01 20:47:05 -07:00
2022-02-08 22:02:45 +01:00
2022-01-05 15:34:33 +01:00
2022-02-11 20:52:31 -06:00
2022-02-12 08:28:54 -06:00
2021-10-14 10:03:38 -07:00
2022-01-14 16:35:35 +01:00
2021-11-01 20:47:05 -07: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
2021-11-01 20:47:05 -07:00
2022-01-20 15:03:14 +01:00
2022-01-25 20:20:11 -10:00
2022-02-06 16:50:44 -06:00
2021-11-18 15:56:22 -08:00
2021-06-11 13:35:03 +02:00
2022-02-14 08:54:12 -08:00
2022-01-14 22:07:15 +01:00
2021-03-19 15:54:07 +01:00
2021-12-31 09:44:35 -10:00
2022-01-13 15:32:39 +01:00
2022-01-31 17:04:46 -08:00
2022-02-04 10:50:24 +01:00