* Do not create `current_summ_received` entity until initialized once
* Update zha_devices_list.py to not expect summation received entities
The attribute isn't initialized for these devices in the test (which our check now expects it to be), hence we need to remove them from this list.
* Update sensor tests to have initial state for current_summ_received entity
The attribute needs to be initialized for it to be created which we do by plugging the attribute read.
The test expects the initial state to be "unknown", but hence we plugged the attribute (to create the entity), the state is whatever we plug the attribute read as.
* Update sensor tests to expect not updating current_summ_received entity if it doesn't exist
* move legacy needed convertions into legacy entity
* add zone related sensors
* fix test coverage
* fix typing
* fix entity name translations
* rename placeholder to tracked_entity
* 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