Commit Graph
13 Commits
Author SHA1 Message Date
Martin Hjelmare bda9cb59d2 Clean up double spotify persistent notification for re-auth (#77307) 2022-08-26 00:20:29 +02:00
epenet d323508f79 Add type hints to async_step_reauth (#74164) 2022-06-29 11:25:37 +02:00
epenet b6676df1cb Adjust config-flow reauth type hints in components (#74088) 2022-06-28 08:43:06 +02:00
Franck Nijhof 5965b015dd Adjust data entry flow to have an option data_schema (#67637) 2022-03-04 16:42:02 +01:00
Franck NijhofandMartin Hjelmare b9f21d4e07 Improve typing of Spotify (#66109)
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2022-02-08 23:07:13 +01:00
Franck Nijhof 8eb27374c6 Clean up connection classes in integrations P-S (#49893) 2021-04-30 21:04:44 -10:00
Ruslan Sayfutdinov 183220008d Rename FlowResultDict to FlowResult (#49847) 2021-04-29 13:40:51 +02:00
Milan Meulemans 48695869f9 Change dict[str, Any] to FlowResultDict (#49546) 2021-04-22 17:23:15 -10:00
Marc Mueller a3cd1854f6 Update typing 12 (#48073) 2021-03-18 14:31:38 +01:00
Franck NijhofandMartin Hjelmare bc1daf1802 None optional hass typing in FlowHandler (#46462)
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2021-02-13 13:21:37 +01:00
Philip Allgaier dde6305549 Cleanup unused loggers (components N-Z + tests) (#41982) 2020-10-16 21:24:08 -05:00
c8d49a8adf Add Spotify media browser capability (#39240)
Co-authored-by: Tobias Sauerwein <cgtobi@gmail.com>
Co-authored-by: Bram Kragten <mail@bramkragten.nl>
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
Co-authored-by: Franck Nijhof <git@frenck.dev>
2020-08-27 17:00:36 +02:00
7e4b9adc3d 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>
2020-01-24 18:47:22 +01:00