* Add default device class display precision for Sensor
* Renaming, docstrings, cleanup
* Simplify units list
* Fix tests
* Fix missing precision when suggested is specified
* Update snapshots
* Fix when unit of measurement is not valid
* Fix tests
* Fix deprecated unit usage
* Fix goalzero tests
The sensor native_value method was accessing the data dict and trowing,
since the mock did not have any data for the sensors.
Since now the precision is always specified (it was missing for those
sensors), the throw was hitting async_update_entity_options in _update_suggested_precision.
Previously, async_update_entity_options was not called since it had no
precision.
* Fix metoffice
* Fix smartthings
* Add default sensor data for Tesla Wall Connector tests
* Update snapshots
* Revert spaces
* Update smartthings snapshots
* Add missing sensor mock for tesla wall connector
* Address review comments
* Add doc comment
* Add cap to doc comment
* Update comment
* Update snapshots
* Update comment
* Add WS command to help reset custom entity_id
* Calculate suggested object id from entity properties
* Fix logic and add additional tests
* Adjust test
* Update folder_watcher test
* Handle current entity id matches the automatic entity id
* Don't store calculated_object_id
* Update snapshots
* Update snapshots
* Update test
* Tweak logic for reusing current entity_id
* Improve test
* Don't assign same entity_id to several entities
* Prioritize custom entity name
* Update snapshots
* Update snapshots
* Use device class transation
* WIP
* Test api push
* Use constants
* Use callbacks registered with mock
* Add comment
* Adress review comments
* Empty commit
* Fix tests
* Updates after review
* Add energy/water forecast & fix drying_step error
Adding the energy forecast and water forecast entities that are present in the HACS version of this integration but absent in the HA Core implantation.
Also fixed the state_drying_step sensor which wasn't handling casting of the API value to an int correctly due to the API sometimes giving a None value.
* Fix formatting issues from previous commit
* Fix missing translation_key line 202
* Remove icon entries
* Update icons.json
* Update strings.json
* Update strings.json (correcting mixed up energy/water forecast names)
* Update homeassistant/components/miele/strings.json
Co-authored-by: Åke Strandberg <ake@strandberg.eu>
* Update homeassistant/components/miele/strings.json
Co-authored-by: Åke Strandberg <ake@strandberg.eu>
* Fix tests
---------
Co-authored-by: Åke Strandberg <ake@strandberg.eu>
Co-authored-by: Joostlek <joostlek@outlook.com>
* Add some more sensors
* Add some debug logging and correct spelling
* Address review comments
* Split out duration sensors to separate PR
* Update strings
* Filter program phases by device type
* Update tests
* Fix auto link
* Address som of the comments
* Lint
* Lint
* Remove duplicates from enum sensor options
* Update snapshot
* Sort options in enum sensors