core/tests/components
gibwar 52fe0a5e96
Fix utility meter reset without tarrifs (#102884)
* Fix utility meter reset without tarrifs

When using a utility_meter helper set up with a "Meter reset cycle" of
"No cycle" it is impossible to properly reset the meter to 0 and utilize
the "last reset" and "last period" attributes on the helper.

With these changes the service call can now directly reset a meter in
such a configuration and the UI selector has been updated to include
utility meters in the selection list.

Fixes #96920

* Undo UI target selection modes

As requested to not cause confusion by being able to reset individual
meters when using multiple tariffs.

* Adjust logic to only reset standalone sensors

The original logic would allow resetting meters with multiple tariffs
which was an unintended side effect.
2024-03-01 16:44:24 +01:00
..
2024-02-19 11:59:08 +01:00
2024-01-23 14:49:47 +01:00
2024-02-01 13:29:01 +01:00
2024-02-20 08:46:02 +01:00
2024-02-19 11:59:08 +01:00
2024-02-19 11:59:08 +01:00
2024-02-01 13:29:01 +01:00
2023-12-30 10:51:34 +01:00
2024-02-19 11:59:08 +01:00
2024-01-31 14:47:37 +01:00
2024-02-05 08:58:08 +01:00
2023-12-13 14:52:44 +01:00
2024-01-31 18:38:14 +01:00
2024-02-19 11:59:08 +01:00
2024-01-25 12:55:55 +01:00
2024-02-26 19:04:25 +01:00
2024-01-23 22:08:20 -10:00
2024-02-01 13:29:01 +01:00
2023-11-07 14:11:54 +01:00
2024-02-19 11:59:08 +01:00
2024-02-01 13:29:01 +01:00
2024-02-19 11:59:08 +01:00
2024-02-19 11:59:08 +01:00
2023-12-18 00:16:31 +01:00
2023-11-06 23:31:54 +01:00
2023-12-22 13:18:32 +01:00
2024-02-19 11:59:08 +01:00
2024-01-31 10:48:44 +01:00
2024-02-22 10:39:53 +01:00
2024-02-19 11:59:08 +01:00
2024-02-09 14:10:59 +01:00
2024-02-19 11:59:08 +01:00
2024-02-19 11:59:08 +01:00
2023-10-12 13:15:25 +02:00
2024-02-19 11:59:08 +01:00
2023-11-10 07:25:25 -06:00
2024-02-11 12:01:12 +01:00
2024-02-19 11:59:08 +01:00
2024-02-24 16:20:59 -05:00
2024-02-19 11:59:08 +01:00
2024-02-13 21:31:56 +01:00
2024-02-19 11:59:08 +01:00
2024-02-26 17:10:11 +01:00
2024-02-19 11:59:08 +01:00
2024-02-19 11:59:08 +01:00
2024-02-19 11:59:08 +01:00
2024-02-01 13:29:01 +01:00
2023-12-05 07:17:56 -10:00