Rewrite of Spotify integration (#30717)
* Rewrite of Spotify integration * Update homeassistant/components/spotify/config_flow.py Co-Authored-By: Paulus Schoutsen <balloob@gmail.com> * Remove configurator dependency * Strip whitespace from device model in case Spotify product is missing * Ensure domain dict exists in hass data on setup entry * Simply config validation for client id and secret * Abort flow on any exception from spotipy * Add tests for config flow * Gen requirements all * Add test package __init__ * Remove Spotify from coveragerc * Made alias handling more robuust * Fix supported_features for Spotify free and open accounts * Improve error message in the logs * Re-implement Spotify media_player * Change media content type when play a playlist * Process review suggestions * Move Spotify init, static current user and supported_features * Remove unneeded me call * Remove playlist content type due to frontend issues * Improve playlist handling, when context is missing * Handle entity disabled correctly * Handle being offline/unavailable correctly * Bump Spotipy to 2.7.1 * Update coverage RC, mark integration silver * Remove URI limitation, lib supports all Spotify URI's now * Final cleanup * Addresses Pylint error Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
This commit is contained in:
parent
4571cf01e2
commit
7e4b9adc3d
15 changed files with 625 additions and 324 deletions
|
@ -78,6 +78,7 @@ FLOWS = [
|
|||
"soma",
|
||||
"somfy",
|
||||
"sonos",
|
||||
"spotify",
|
||||
"starline",
|
||||
"tellduslive",
|
||||
"tesla",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue