Add icons to select, sensor and switches, change some logging statements #16
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
πβ¨ Add icons to entities and set
wifi
input source for specific applicationsThis MR adds some some custom icons to the registered entities. Just for styling but still π.
Additionally it will assign itself the input source
wifi
whenmedia_app_name
isSpotify
orAirPlay
as the SmartThings API does not set this property and returnsnull
.Caution
As shown in !14 it
it seems that the SmartThings Api is only setting the correct
media_app_name
(detailName
called in the json_response) if the SmartThings App was opened one time.This will probably need some more investigation, but it is not sure whether this integration can fix this.
A few smaller changes / fixes include the update of the GitHub actions workflows, as well as a minor deprecation chore and removing some unnecessary logging statements mentioned while the set-up process of the integration.
Changelog
Added
Changed
MediaPlayerEntityFeature
objectFor more information see https://developers.home-assistant.io/blog/2023/12/28/support-feature-magic-numbers-deprecation
source
now returns the valuewifi
when themedia_app_name
isAirPlay
orSpotify
debug