* fix remaining progress time for home connect component
The home connect API is sending some default values (on dishwashers) for
the remaining progress time after the program finished. This is a problem
because this value is stored and on every API event, for example opening
the door of a dishwasher, the value for remaining progress time is
updated with this wrong value. So I see a wrong value the whole time the
dishwasher is not running and therefore has no remaining progress time.
This coming fixes this problem and adds a check if the appliance is in
running, pause or finished state, because there we have valid data. In
the other states the new code just returns none like on other edge
cases. Now there is no value if there is no program running.
* fix some formating according to the ruff rules
* fix some formating according to the ruff rules again
* fix alphabetic order of imports
* add check if keys exist in dict before accessing them
check if BSH_OPERATION_STATE and ATTR_VALUE key values exist before
accessing them later in the elif statement
* fix formating because forgotten local ruff run
* Improve OAuth error handling in configuration flows
* Update strings for all integrations that use oauth2 config flow
* Remove invalid_auth strings
* Revert change to release
* Revert close change in aiohttp mock
* Add deduplicate script
* Fix forecast_solar incorrect key with space
* Fix utf-8
* Do not create references to other arbitrary other integrations
* Add commented code to only allow applying to referencing integrations
* Tweak
* Bug fix
* Add command line arg for limit reference
* never suggest to update common keys
* Output of script
* Apply suggestions from code review
Co-authored-by: Michael <35783820+mib1185@users.noreply.github.com>
---------
Co-authored-by: Michael <35783820+mib1185@users.noreply.github.com>
* Small changes as requested in PR 58768
* Fix ValueError message formatting
* Use f-string
* Remove None as return type of _get_appliance_by_device_id
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>