Releases: thlucas1/homeassistantcomponent_soundtouchplus
Releases · thlucas1/homeassistantcomponent_soundtouchplus
v1.0.44
[ 1.0.44 ] - 2024/05/21
- Added extra state variable:
soundtouchplus_websockets_enabled
. Returns true if websocket support is enabled for the device; otherwise, false if device does not support websockets or if websockets were disabled during device setup. - Added extra state variable:
soundtouchplus_polling_enabled
. Returns true if device polling is enabled; otherwise, false. Polling can be a temporary condition, in that it will be enabled if websocket support is enabled and the connection is lost and has not been re-established yet.
v1.0.43
[ 1.0.43 ] - 2024/05/20
- Added extra state variables related to recently played cache feature:
soundtouchplus_recents_cache_enabled
,soundtouchplus_recents_cache_max_items
,soundtouchplus_recents_cache_lastupdated
. - Added service
recent_list_cache
to retrieve the recently played items cache from the file system. - Added service
remove_preset
to remove the specified preset id. - Changed all
media_player.schedule_update_ha_state(force_refresh=True)
calls toschedule_update_ha_state(force_refresh=False)
to improve performance. Suggested by @bdraco, along with an explanation of why. Thanks @bdraco! - Updated underlying
bosesoundtouchapi
package requirement to version 1.0.66.
v1.0.42
[ 1.0.42 ] - 2024/05/03
- Changed all
media_player.async_write_ha_state()
calls toschedule_update_ha_state(force_refresh=True)
calls due to HA 2024.5 release requirements. This fixes the issue of "Failed to call service X. Detected that custom integration 'Y' calls async_write_ha_state from a thread at Z. Please report it to the author of the 'Y' custom integration.". - Added service
get_source_list
to get the current source list configuration of the device. - Modified
media_player.service_preset_list
service to update the extra state attribute namedsoundtouchplus_presets_lastupdated
to correctly reflect the last update datetime. - Modified
media_player.service_recent_list
service to update the extra state attribute namedsoundtouchplus_recents_lastupdated
to correctly reflect the last update datetime. - Added system health information.
- Modified strings.json (and translations) to remove a placeholder inside single quotes that was embedded in a service description. This was causing hass validation step to fail.
- Updated underlying
bosesoundtouchapi
package requirement to version 1.0.59. - Updated Python version from 3.11 to 3.12.3 due to HA 2024.5 release requirements.
v1.0.41
v1.0.40
[ 1.0.40 ] - 2024/04/15
- Corrected a bug in the underlying
bosesoundtouchapi
that was returning an incorrect image url for currently playing media. This incorrect value was being used by themedia_player.media_image_url
value, which caused an incorrect image to be displayed for currently playing media in the media player UI. - Updated underlying
bosesoundtouchapi
package requirement to version 1.0.58.
v1.0.39
[ 1.0.39 ] - 2024/04/05
- Updated Media Browser logic to return an empty
BrowseMedia
object when ignoring Sonos-Card 'favorites' node requests, as a null object was causing numerousBrowse Media should use new BrowseMedia class
log warnings. - Updated underlying
spotifywebapiPython
package requirement to version 1.0.42.
v1.0.38
[ 1.0.38 ] - 2024/04/04
- Updated Media Browser logic to ignore Sonos-Card 'favorites' node requests, as there is no SoundTouch direct equivalent.
- Updated
media_player.media_title
attribute to just return the track name (not theartist - track name
). - Updated underlying
spotifywebapiPython
package requirement to version 1.0.41.
v1.0.37
v1.0.36
[ 1.0.36 ] - 2024/03/22
- Updated
media_player.state
property to return the correct power state when the device has been placed into STANDBY. This corrects a bug that was introduced in v1.0.28, which set the state to STANDBY instead of OFF. - Updated
media_player.media_image_url
to return the content item coverart if present; otherwise, return the nowplaying arturl value. - Added new extra state attribute named
soundtouchplus_nowplaying_isadvertisement
- True if the current source is playing an advertisement; otherwise, False. Note that not all sources support advertisement detection. - Added new extra state attribute named
soundtouchplus_nowplaying_isfavorite
- True if the current source content has been marked as a favorite; otherwise, False. Note that not all sources support favorites. - Updated underlying
bosesoundtouchapi
package requirement to version 1.0.57.