Remove some calls to internal functions that
are now available directly on the devices
and deleted_devices objects
Remove internal functions that are no
longer used
* fix: handling of external album-art in music-assistant-integration
* chore: refinements
* make the image-logic more readable
* fix code comment to be accurate
* Fix ESPHome update entities being loaded before device_info is available
Since we load platforms when restoring config, the update
platform could be loaded before the connection to the
device was finished which meant device_info could still
be empty. Wait until device_info is available to
load the update platform.
fixes#135906
* Apply suggestions from code review
* move comment
* Update entry_data.py
Co-authored-by: TheJulianJES <TheJulianJES@users.noreply.github.com>
---------
Co-authored-by: TheJulianJES <TheJulianJES@users.noreply.github.com>
* Fix old ESPHome entities not being removed when configuration changes
fixes#140756
* make sure all callbacks fire
* make sure all callbacks fire
* make sure all callbacks fire
* make sure all callbacks fire
* revert
* cover
* Replace "On", "Off" and "Stop(ped)" in `airzone_cloud` with common strings
* Revert to "Stop" as mode name by manufacturer
Co-authored-by: acidcoke <acidcoke@acidic.codes>
---------
Co-authored-by: acidcoke <acidcoke@acidic.codes>
* Replace "Stopped" with common state in `teslemetry`
* Replace "Disconnected" with common state in `teslemetry`
* Replace "Stopped"/"Disconnected" with common state in `tessie`
* Replace "Stopped", "Connected", "Disconnected" with common state in `tesla_fleet`
* Set Home Connect program action field as not required
* Remove required field
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
---------
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
* Dynamically add Home Connect event sensors to HA
* Add and remove listeners on paired and depaired events
* Apply suggestion
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
* Update test
* Adjust English
---------
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
We can use last_updated_timestamp for the compare since its always
calculated when the state is created and comparing floats is
much faster than datetime objects
* Fix grammar / sentence-casing in `workday`
Also replace "country" with common string.
* Add two more references
* Fix second data description reference
* Add "given" to action description for better translations