Erik Montnemery
87f284c7e9
Add MEDIA_ANNOUNCE to MediaPlayerEntityFeature ( #95906 )
2023-07-10 12:58:53 +02:00
Erik Montnemery
6dae3553f2
Add MEDIA_ENQUEUE to MediaPlayerEntityFeature ( #95905 )
2023-07-08 10:55:25 +02:00
Paulus Schoutsen
9cace8e4bd
Fix some entity naming ( #95562 )
2023-06-29 13:11:17 -04:00
jjlawren
4ce1106243
Properly resolve media_source
URLs for Sonos announcements ( #92154 )
...
Properly resolve media_source URLs for Sonos announcements
2023-04-27 23:51:51 -04:00
jjlawren
27f3b53872
Support Sonos announcements using websockets ( #91145 )
2023-04-13 20:08:53 -10:00
epenet
3b83340f6e
Improve get_browse_image type hints in media player ( #90057 )
2023-03-26 19:54:01 +02:00
epenet
f56bf134d2
Improve browse_media type hints in media player ( #90060 )
...
* Improve browse_media type hints in media player
* Adjust components
* Adjust base entity
2023-03-24 21:49:12 -07:00
epenet
4836404288
Improve media_player type hints in integrations ( #90029 )
...
Fix some media_player type hints
2023-03-21 11:10:12 +01:00
Franck Nijhof
3d557b5583
Collection of code styling tweaks ( #87381 )
2023-02-04 12:52:26 -05:00
Franck Nijhof
ca1a12898c
Enable Ruff D212 ( #87347 )
2023-02-03 23:08:48 +01:00
Michel van de Wetering
b087c1e734
Set deviceclass to speaker for Sonos media_player ( #80694 )
2023-01-16 20:20:37 +01:00
jjlawren
c70388869b
Do not discard zero positions for Sonos media players ( #83249 )
...
fixes undefined
2022-12-04 21:11:30 -05:00
jjlawren
d50f5e49c8
Extend Sonos queue operation timeouts ( #80804 )
2022-10-25 13:38:28 +02:00
epenet
7871a517a8
Import constants from root ( #78271 )
2022-09-12 18:53:05 +02:00
epenet
6b157921ea
Use new media player enums [s] ( #78064 )
2022-09-08 23:05:10 +02:00
epenet
3ec231c911
Improve entity type hints [s] (part 2/2) ( #77882 )
2022-09-06 13:36:44 +02:00
Robert Hillis
73ba7a989b
Make Sonos typing more complete ( #68072 )
2022-09-05 13:12:37 -05:00
Franck Nijhof
5f728b955e
Migrate Sonos to new entity naming style ( #74909 )
2022-07-10 13:19:13 -07:00
jjlawren
ba7ad1029c
Remove legacy Sonos grouping services ( #74476 )
2022-07-07 12:17:13 +02:00
jjlawren
d203cb0658
Minimize Sonos media_player.unjoin
timeout ( #74549 )
2022-07-07 09:43:10 +02:00
jjlawren
329ecc74c4
Optimize Sonos join behavior when using media_player.join
( #74174 )
...
Optimize Sonos media_player.join service
2022-06-29 15:23:22 +02:00
jjlawren
4bfdb1433e
Optimize Sonos unjoin behavior when using media_player.unjoin
( #74086 )
...
* Coalesce Sonos unjoins to process together
* Refactor for readability
* Skip unjoin call if already ungrouped
* Store unjoin data in a dedicated dataclass
* Revert import adjustment
2022-06-28 13:19:27 -07:00
jjlawren
b0f4b3030f
Extend timeouts for Spotify and Plex playback on Sonos ( #73803 )
2022-06-23 00:58:10 +02:00
jjlawren
4f75de2345
Fix errors when unjoining multiple Sonos devices simultaneously ( #73133 )
2022-06-06 15:18:07 -07:00
jjlawren
d368b9e24f
Remove announce workaround for Sonos ( #72854 )
2022-06-01 22:12:38 -07:00
jjlawren
1ef59d1e73
Cleanup handling of new enqueue & announce features in Sonos ( #72801 )
2022-05-31 21:39:07 -07:00
jjlawren
275ea5b150
Support add/next/play/replace enqueue options in Sonos ( #72800 )
2022-05-31 20:36:45 -07:00
Erik Montnemery
47d0cc9b09
Update integrations to pass target player when resolving media ( #72597 )
2022-05-27 09:05:06 -07:00
Paulus Schoutsen
86570fba19
Convert media player enqueue to an enum ( #72406 )
2022-05-26 13:57:00 -07:00
jjlawren
bbe807c655
Deprecate legacy Sonos grouping services ( #71226 )
2022-05-02 23:01:44 -07:00
jjlawren
1f1932d224
Fix Sonos races related to grouping and startup ( #71026 )
2022-04-28 14:26:29 -07:00
jjlawren
6151306e3d
Use standard attribute for Sonos group members ( #70924 )
2022-04-27 18:59:05 +02:00
epenet
190ef4ee35
Use EntityFeature enum in components (s** 2/2) ( #69441 )
2022-04-07 15:06:34 +02:00
jjlawren
653305b998
Support multiple Plex servers in media browser ( #68321 )
2022-03-21 15:48:44 -07:00
jjlawren
f75d621888
Normalize enqueuing Plex media on Sonos ( #68132 )
2022-03-17 13:52:59 -07:00
jjlawren
80ff497cfc
Rework available Sonos sources ( #67931 )
2022-03-11 15:57:57 -08:00
jjlawren
cfd763db40
Refactor Sonos media metadata handling ( #66840 )
...
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
2022-02-23 08:58:00 -08:00
Paulus Schoutsen
e0ff7dc2e7
Fix radio browser on Sonos ( #67017 )
2022-02-22 08:51:41 +01:00
Erik Montnemery
5be5a014f3
Adjust Sonos for updated Spotify media browsing ( #66508 )
2022-02-14 20:15:09 +01:00
Paulus Schoutsen
3bce870c6d
Add helper for media players to handle HA hosted media ( #66120 )
...
* Sonos to sign all HASS urls
* Don't sign if queries in url
* Extract media player hass URL handling to helper
2022-02-09 12:50:33 -08:00
jjlawren
a7fd477c64
Refactor Sonos polling ( #65722 )
...
* Refactor Sonos polling
Explicitly rename fallback polling
Catch soco exceptions centrally where possible
Create SonosPollingEntity subclass
Remove unnecessary soco_error fixture argument
Remove unnecessary polling in update_volume()
Adjust log levels and wording
Set explicit timeout on library
* Adjust logging to use raised exceptions
* Simplify availabiliity checks when using built-in poller
* Fix typing for return values
2022-02-08 12:17:05 -06:00
jjlawren
b02a030336
Fix Spotify, Tidal, Apple Music playback on Sonos groups ( #65838 )
2022-02-06 18:37:23 +01:00
jjlawren
e17f1ea577
Support Plex in Sonos media browser ( #64951 )
...
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2022-01-26 10:40:47 -08:00
jjlawren
cdad1a9f27
Use local Sonos API for Plex music playback ( #63357 )
2022-01-25 21:10:11 -08:00
Paulus Schoutsen
a371f8f788
Allow browsing the Spotify media player in Sonos ( #64921 )
2022-01-25 12:43:43 -08:00
jjlawren
a046cef734
Bump soco to 0.26.0 ( #64819 )
2022-01-24 14:54:27 +01:00
Paulus Schoutsen
ed2e1f431c
Allow Sonos to browse and play local media via media browser ( #64603 )
2022-01-21 13:49:06 -08:00
Paulus Schoutsen
2f18058fe7
Allow browsing favorites in Sonos media browser ( #64082 )
...
* Allow browsing favorites in Sonos media browser
* Group favorites by type, add thumbnails
* Update homeassistant/components/sonos/media_player.py
* Apply suggestions from code review
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
* Keep favorite groups ordering consistent
* Skip root folder if only one child available
Co-authored-by: Jason Lawrence <jjlawren@users.noreply.github.com>
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2022-01-14 09:28:25 -08:00
epenet
ed5e1af10a
Add type hints to media_player (part 2) ( #64006 )
2022-01-13 10:43:52 +01:00
jjlawren
754f4c52c2
Support media_player grouping services for Sonos ( #63256 )
2022-01-05 16:22:36 +01:00