Commit Graph
4 Commits
Author SHA1 Message Date
Wesley Vos 478a1d5e9a Add periodically resetting meter option to utility meter (#88446)
* Use last valid state if meter is not periodically resetting

* Fix unload of entry, used during options flow submit

* Adjustments based on code review

* Move DecimalException handling to validation method

* Add test for invalid new state in calculate_adjustment method
2023-03-28 17:09:20 +02:00
Jan Bouwhuis c97cf62b47 Add translation support for utility_meter type in config flow (#86220)
* Add translation support for utility_meter type

* Remove redundant labels
2023-01-24 12:52:26 +01:00
Erik Montnemery 82af314678 Improve utility_meter translation strings (#69252) 2022-04-04 14:24:56 +02:00
Erik Montnemery bdb61e0222 Add config flow for utility_meter (#68457) 2022-03-29 14:46:17 +02:00