Commit Graph
500 Commits
Author SHA1 Message Date
epenet 7871a517a8 Import constants from root (#78271) 2022-09-12 18:53:05 +02:00
uvjustin 9b2d17cd00 Escape media_content_id in media player proxy (#77811)
* Escape media_content_id in media player proxy

* Change usage in kodi

* Change usage in roku

* Change usage in sonos

* Add test

* Add comment

* Change path regex instead of double quoting

* Use .+ instead of .*
2022-09-09 13:18:24 +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
epenet 4a84a8caa9 Use Platform enum (#76967) 2022-08-18 10:22:49 +02:00
GitHub Action 81e3ef03f7 [ci skip] Translation update 2022-08-02 00:27:42 +00:00
krazos 567f181a21 Fix capitalization of Sonos "Status light" entity name (#76035)
Tweak capitalization of "Status light" entity name

Tweak capitalization of "Status light" entity name for consistency with blog post guidance, which states that entity names should start with a capital letter, with the rest of the words lower case
2022-08-01 18:45:18 +02:00
jjlawren bbdce93291 Fix error on shutdown when no Sonos devices available (#75798) 2022-07-27 10:01:44 +02:00
Marc Mueller 5ae5ae5392 Improve debouncer typing (#75436) 2022-07-19 18:35:04 +02:00
GitHub Action a3fd5acf3f [ci skip] Translation update 2022-07-13 00:27:34 +00:00
Franck Nijhof 5f728b955e Migrate Sonos to new entity naming style (#74909) 2022-07-10 13:19:13 -07:00
J. Nick Koston cd03c49fc2 Wait for config entry platform forwards (#73806) 2022-07-09 17:27:42 +02: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 800bae68a8 Fix clearing of Sonos library cache during regrouping (#74085)
Fix clearing of ZoneGroupState attribute cache
2022-06-28 09:51:33 +02:00
jjlawren b0f4b3030f Extend timeouts for Spotify and Plex playback on Sonos (#73803) 2022-06-23 00:58:10 +02:00
jjlawren 8d66623036 Add ZoneGroupState statistics to Sonos diagnostics (#73848) 2022-06-22 12:29:34 -05:00
jjlawren 86fde1a644 Handle failures during initial Sonos subscription (#73456) 2022-06-22 10:56:17 -05:00
jjlawren 07a46dee39 Additional surround controls for Sonos (#73805) 2022-06-22 09:08:31 +02:00
jjlawren c98419b031 Bump soco to 0.28.0 (#73750) 2022-06-20 20:59:29 +02:00
jjlawren 90e402eca5 Allow removing Sonos devices (#73567) 2022-06-15 19:21:39 -10:00
Erik Montnemery e05e79e53d Migrate NumberEntity r-t to native_value (#73485) 2022-06-15 10:56:41 +02:00
jjlawren 77c92b0b77 Mark Sonos speaker as offline when switching to bluetooth (#73519) 2022-06-14 20:32:13 -10:00
jjlawren 4f75de2345 Fix errors when unjoining multiple Sonos devices simultaneously (#73133) 2022-06-06 15:18:07 -07:00
jjlawren 04b2223f06 Provide Sonos media position if duration not available (#73001) 2022-06-03 15:03:21 -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
jjlawren 30e71dd96f Add support for Sonos loudness switch (#72572) 2022-05-30 16:09:14 +02: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
Marc Mueller 3c246b7800 Update mypy to 0.960 (#72481) 2022-05-25 11:42:14 -07:00
GitHub Action ceb8bb4745 [ci skip] Translation update 2022-05-21 00:22:49 +00:00
jjlawren e339f43322 Add a timeout during Sonos speaker setup (#71973) 2022-05-16 18:03:39 -05:00
GitHub Action 37f81b261d [ci skip] Translation update 2022-05-16 00:24:28 +00:00
jjlawren 532b3d780f Rework Sonos battery and ping activity tracking (#70942) 2022-05-14 13:40:26 -05:00
jjlawren c5460ce4b9 Fix Sonos idle states (#71756) 2022-05-13 19:04:58 -04:00
jjlawren bbe807c655 Deprecate legacy Sonos grouping services (#71226) 2022-05-02 23:01:44 -07:00
jjlawren 9b03ef4829 Improve Sonos terminology for inclusiveness (#71206)
* Improve Sonos group terminology

* Deprecate Sonos-specific grouping services

* Push deprecation back one version

* Revert deprecation notice
2022-05-02 23:01:19 -07:00
jjlawren 1f1932d224 Fix Sonos races related to grouping and startup (#71026) 2022-04-28 14:26:29 -07:00
Marc MuellerandJ. Nick Koston 93cbb331e5 Update Mypy to 0.950 (#70948)
Co-authored-by: J. Nick Koston <nick@koston.org>
2022-04-27 20:49:54 -05:00
jjlawren 6151306e3d Use standard attribute for Sonos group members (#70924) 2022-04-27 18:59:05 +02:00
jjlawren 5bcc83f6f2 Remove "sonos" prefix for Sonos switch entity_ids (#70698) 2022-04-25 16:01:54 -10:00
jjlawren ac88d0be14 Add Sonos favorites sensor (#70235) 2022-04-21 10:37:16 -07:00
jjlawren c29a5dc3fd Add guard for Sonos S1 radio show compatibility (#70251) 2022-04-19 08:56:03 +02:00
jjlawren c53aa50093 Rework Sonos discovery & availability (#70066) 2022-04-17 22:54:51 -07:00
epenet 190ef4ee35 Use EntityFeature enum in components (s** 2/2) (#69441) 2022-04-07 15:06:34 +02:00