Commit Graph

55 Commits (94677090684661c1984464cb9b8009278e5e6839)

Author SHA1 Message Date
Joost Lekkerkerker 2db301fab9
Fix Spotify flaky test (#136529) 2025-01-25 18:53:27 +02:00
Joost Lekkerkerker f5fc46a7be
Make Spotify polling interval dynamic (#136461) 2025-01-24 22:03:46 +01:00
epenet 64500e837f
Use new ServiceInfo location in component tests (part 1) (#136057) 2025-01-20 13:09:34 +01:00
Joost Lekkerkerker 782fff198c
Handle not found playlists in Spotify (#132033)
* Handle not found playlists

* Handle not found playlists

* Handle not found playlists

* Handle not found playlists

* Handle not found playlists

* Update homeassistant/components/spotify/coordinator.py

---------

Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
2024-12-01 21:17:07 -05:00
Joost Lekkerkerker dc064237ca
Bump spotifyaio to 0.8.10 (#131827) 2024-11-28 13:45:10 +01:00
Joost Lekkerkerker 3a76bfb857
Remove Spotify featured playlists and categories from media browser (#131758) 2024-11-28 12:34:06 +01:00
Joost Lekkerkerker 39c2a529d1
Remove Spotify audio feature sensors (#131754) 2024-11-28 08:07:19 +01:00
Joost Lekkerkerker 02750452df
Update Spotify state after mutation (#129607) 2024-11-04 15:01:37 +01:00
Joost Lekkerkerker 4da93f6a5e
Bump spotifyaio to 0.8.1 (#129573) 2024-11-01 15:12:15 +01:00
Joost Lekkerkerker c59197e87a
Add more spotify sensors (#129215) 2024-10-26 14:43:32 +02:00
Joost Lekkerkerker 827d6d1d2d
Add audio feature sensors to Spotify (#128785) 2024-10-21 09:46:38 +02:00
Joost Lekkerkerker 8ceecec5b8
Bump spotifyaio to 0.7.1 (#128807) 2024-10-20 09:49:23 +02:00
Joost Lekkerkerker 5497697cf2
Add diagnostics to Spotify (#128521) 2024-10-16 19:33:28 +02:00
Joost Lekkerkerker 494511e099
Migrate spotify to aiospotify (#127728) 2024-10-16 17:04:05 +02:00
Joost Lekkerkerker ed445d0ab8
Add even more tests to Spotify (#128298) 2024-10-16 13:20:57 +02:00
Julian 260d919f80
Fix translation string in spotify (#128440)
* Fix translation string in spotify

* Remove ignore_translations from spotify config_flow test

* Fix formatting in config flow test for spotify
2024-10-15 14:00:34 +02:00
epenet f41494b7cc
Ensure config_flow abort reasons have translations (#128140)
* Ensure config_flow abort reasons have translations

* Ignore fake_integration in application_credentials

* Mark gardena_bluetooth as needs fixing

* Mark google as needs fixing

* Mark google_assistant_sdk as needs fixing

* Mark homewizard as needs fixing

* Mark homeworks as needs fixing

* Mark honeywell as needs fixing

* Mark jewish_calendar as needs fixing

* Mark lg_netcast as needs fixing

* Mark lifx as needs fixing

* Mark lyric as needs fixing

* Mark madvr as needs fixing

* Mark matter as needs fixing

* Mark melcloud as needs fixing

* Mark motioneye as needs fixing

* Mark ollama as needs fixing

* Mark philips_js as needs fixing

* Mark spotify as needs fixing

* Mark srp_energy as needs fixing

* Mark subaru as needs fixing

* Mark tplink as needs fixing

* Mark yolink as needs fixing

* Mark youtube as needs fixing

* Fix incorrect comment
2024-10-14 16:39:10 +02:00
Joost Lekkerkerker d50758197e
Add test for Spotify select source (#128160) 2024-10-11 14:33:34 +02:00
Joost Lekkerkerker 00f7bdbfaa
Add more Spotify tests for the media player (#127999)
* Add more Spotify tests for the media player

* Fix comments

* Rename test
2024-10-11 14:06:52 +02:00
Joost Lekkerkerker 71898d0c8c
Add snapshot testing to Spotify (#128032)
* Add snapshot testing to Spotify

* Fix
2024-10-11 13:58:04 +02:00
Joost Lekkerkerker c096cc23df
Add tests for the Spotify media browser (#127857)
* Add tests for the Spotify media browser

* Add tests for the Spotify media browser

* Fix

* Fix comment

* Revert "Add tests for the Spotify media browser"

This reverts commit 59de6725d2.

* Add comment

* Add comment
2024-10-09 13:39:03 +02:00
Joost Lekkerkerker c97be4d0d1
Add Spotify media player tests (#127839)
* Improve Spotify mock

* Add Spotify media player tests

* Remove extra changes

* Remove available markets

* Remove available markets

* Fix tests
2024-10-09 12:09:42 +02:00
Joost Lekkerkerker fe130b62c8
Replace Spotify fixtures (#127850)
Replace fixtures with real life ones
2024-10-07 18:00:54 +02:00
Joost Lekkerkerker f0363ac221
Improve Spotify mock (#127825)
* Improve Spotify mock

* Fix comments

* Fix comments

* Fix comments

* Fix comments

* Fix comments

* Fix comments

* Fix comments

* Fix comments
2024-10-07 17:36:39 +02:00
epenet 8b9b65d3f1
Use reauth helpers in spotify config flow (#127532)
Use async_update_reload_and_abort in spotify
2024-10-04 11:13:03 +02:00
Joost Lekkerkerker 686d591f4f
Add coordinator to Spotify (#123548) 2024-09-24 22:24:40 +02:00
epenet 9bcc31a9fe
Use start_reauth helper method in integration tests (s) (#124793) 2024-08-28 16:49:05 +02:00
Pete Sage 9399a54c7a
Fix Spotify Media Browsing fails for new config entries (#124368)
* initial commit

* tests

* tests

* update tests

* update tests

* update tests
2024-08-21 21:05:09 +02:00
epenet b81f0b600f
Move current_request_with_host fixture to decorator (#118810)
* Move current_request_with_host fixture to decorator

* One more
2024-06-04 17:50:22 +02:00
Joost Lekkerkerker ee66f6ec8c
Use is in enum comparison in config flow tests P-T (#114675) 2024-04-02 11:21:50 -10:00
Joost Lekkerkerker 6bb4e7d62c
Bump ruff to 0.3.4 (#112690)
Co-authored-by: Sid <27780930+autinerd@users.noreply.github.com>
Co-authored-by: Marc Mueller <30130371+cdce8p@users.noreply.github.com>
Co-authored-by: J. Nick Koston <nick@koston.org>
2024-03-26 00:02:16 +01:00
Marc Mueller 7d6251ca08
Add empty line after module docstring [tests q-s] (#112711) 2024-03-08 14:47:22 +01:00
J. Nick Koston 0eca433004
Update zeroconf discovery to use IPAddress objects to avoid conversions (#100567) 2023-09-19 18:58:46 +02:00
epenet dab8557951
Add type hints to integration tests (part 21) (#88233) 2023-02-16 11:15:26 +01:00
epenet ba85fdcd61
Add type hints to integration tests (q-s) (#87706) 2023-02-08 08:12:54 -08:00
epenet 30bf0634fe
Add per-file-ignore to pylint (#86289) 2023-01-22 17:26:24 +01:00
Franck Nijhof 79b52a2b41
Stricter pylint message control (#86154) 2023-01-20 13:47:55 +01:00
Franck Nijhof ba0b98ef32
Remove deprecated Spotify YAML configuration (#74604) 2022-07-08 08:30:01 +02:00
Franck Nijhof 7cd68381f1
Search/replace RESULT_TYPE_* by FlowResultType enum (#74642) 2022-07-07 19:57:36 +03:00
Allen Porter 26ee289be3
Add return code to integration application credentials in config flow (#71986)
* Add return code to integration application credentials in config flow

* Update google tests to use new return code

* Update spotify test for no auth configured

* Add translation for oauth2_missing_credentials

* Add new return code to yolink

* Update homeassistant/strings.json

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>

Co-authored-by: Franck Nijhof <frenck@frenck.nl>
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2022-05-18 06:30:57 -07:00
Joshua Roys 9134e5c844
Get discovered zeroconf IPv6 addresses (#65462) 2022-02-11 16:46:17 -06:00
Franck Nijhof b9f21d4e07
Improve typing of Spotify (#66109)
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2022-02-08 23:07:13 +01:00
epenet 75057949d1
Adjust async_step_discovery methods for BaseServiceInfo (#60285)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-11-24 19:30:02 -06:00
Ville Skyttä 50e0c58310
Use http.HTTPStatus in components/s* (#58291) 2021-10-23 20:49:04 +02:00
Erik Montnemery bfd799dc04
Use hass_client_no_auth test fixture in integrations s-x (#55585) 2021-09-02 14:50:10 +02:00
Joakim Sørensen befcafbc49
Mock setup in spotify tests (#55515) 2021-09-01 11:27:21 +02:00
Ville Skyttä 153d6e891e
Use config_entries.SOURCE_* constants (#49631) 2021-04-25 11:27:40 +02:00
Franck Nijhof 65cf2fcb6f
Drop asynctest (#44746) 2021-01-01 22:31:56 +01:00
Paulus Schoutsen f9fa24950b
OAuth2 to use current request header (#43668) 2020-11-27 08:55:34 +01:00
cgtobi 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