* 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