* 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
* Increase websocket_api allowed peak time to 10s
fixes#141624
During integration reload or startup, we can end up sending a message for
each entity being created for integrations that create them from an external
source (ie MQTT) because the messages come in one at a time. This can overload
the loop and/or client for more than 5s. While we have done significant work
to optimize for this path, we are at the limit at what we can expect clients
to be able to process in the time window, so increase the time window.
* adjust test