J. Nick Koston
016a4433d2
Handle missing transport_state on media update in sonos ( #50051 )
2021-05-04 08:54:31 +02:00
Franck Nijhof
2ed386f9e6
Migrate to async_get_current_platform everywhere ( #50034 )
2021-05-03 09:34:28 -07:00
Milan Meulemans and Martin Hjelmare
29d72714f3
Replace dict with DeviceInfo ( #49950 )
...
* Replace dict with DeviceInfo
* Clean up
Co-authored-by: Martin Hjelmare <marhje52@gmail.com >
2021-05-02 00:37:19 +02:00
J. Nick Koston
4bebedb658
Bump pysonos to 0.0.44 to fix client session race ( #49964 )
...
Fixes #49954
2021-05-01 12:26:10 -10:00
jjlawren
adba82de8b
Do not pass hass.data to Sonos entities ( #49881 )
2021-04-30 07:01:09 +02:00
Franck Nijhof and Joakim Sørensen
c68b259bd3
Cleanup of unused connection_class logic ( #49865 )
...
Co-authored-by: Joakim Sørensen <joasoe@gmail.com >
2021-04-29 23:12:58 +02:00
jjlawren
db886ef03a
Add additional Sonos codeowner ( #49879 )
2021-04-29 13:50:16 -07:00
Ruslan Sayfutdinov
0301706fc6
Define AddEntitiesCallback type ( #49812 )
2021-04-29 12:28:14 +02:00
jjlawren and Martin Hjelmare
d4ed65e0f5
Add power binary_sensor support to Sonos ( #49730 )
...
* Add power binary_sensor support to Sonos
* Prepare for future unloading of config entries
* Remove unnecessary calls to super() inits
* Add binary_sensor to tests, remove invalid test for empty battery payload
* Move sensor added_to_hass to common sensor class
* Avoid dispatching sensors if no battery
* Use proper attributes property
* Remove power source fallback
* Update homeassistant/components/sonos/speaker.py
Co-authored-by: Martin Hjelmare <marhje52@gmail.com >
Co-authored-by: Martin Hjelmare <marhje52@gmail.com >
2021-04-27 04:52:05 -10:00
jjlawren
dc50524f32
Cleanup implementation of new Sonos sensors ( #49716 )
2021-04-26 23:59:04 +02:00
tkdrob
d24cbde913
Add target and selectors to sonos services ( #49536 )
2021-04-25 10:28:42 -10:00
3be8c9c1c0
Add battery support for Sonos speakers ( #49441 )
...
Co-authored-by: Walter Huf <hufman@gmail.com >
Co-authored-by: J. Nick Koston <nick@koston.org >
2021-04-25 07:20:21 -10:00
J. Nick Koston and Franck Nijhof
3fa8ffa731
Enable mccabe complexity checks in flake8 ( #49616 )
...
Co-authored-by: Franck Nijhof <git@frenck.dev >
2021-04-25 12:38:40 +02:00
Marc Mueller
c07646db5d
Update typing syntax ( #49480 )
...
* Update typing syntax
* Replace typing imports with ones from collections where possible
* Changes after review
2021-04-20 17:40:41 +02:00
J. Nick Koston
f7b7a805f5
Bump pysonos to 0.0.43 ( #49330 )
...
- Downgrade asyncio log severity
2021-04-16 20:19:50 -10:00
Franck Nijhof
055cdc64c0
Add support for IoT class in manifest ( #46935 )
2021-04-15 10:21:38 +02:00
J. Nick Koston
19e047e801
Fix logic reversal in sonos update_media_radio ( #48900 )
2021-04-09 07:24:35 +02:00
J. Nick Koston
d417dcb8f4
Bump pysonos to 0.0.42 to fix I/O in event loop ( #48743 )
...
fixes #48732
Changelog: https://github.com/amelchio/pysonos/compare/v0.0.41...v0.0.42
2021-04-07 00:15:36 +02:00
J. Nick Koston
6dc1414b69
Fix sonos volume always showing 0 ( #48685 )
2021-04-04 20:26:55 -07:00
J. Nick Koston
e008e80bcf
Cleanup sonos ( #48684 )
...
- Remove unused code
- Use async_add_executor_job
- Enforce typing
2021-04-04 23:28:29 +02:00
J. Nick Koston
bc06100dd8
Make sonos event asyncio ( #48618 )
2021-04-03 17:10:48 -07:00
Anders Melchiorsen
96c391af09
Fix Sonos Line-in favorites ( #48524 )
2021-03-31 07:22:54 +02:00
Franck Nijhof
6932cf9534
Use contextlib.suppress where possible ( #48189 )
2021-03-23 14:36:43 +01:00
J. Nick Koston and Martin Hjelmare
c820dd4cb5
Have pylint warn when user visible log messages do not start with capital letter or end with a period ( #48064 )
...
Co-authored-by: Martin Hjelmare <marhje52@gmail.com >
2021-03-19 09:26:36 -05:00
HomeAssistant Azure
c11b85af2f
[ci skip] Translation update
2021-03-16 00:04:36 +00:00
Erik Montnemery
14ff6d4d1f
Update integrations p-s to override extra_state_attributes() ( #47759 )
2021-03-11 21:23:20 +01:00
Anders Melchiorsen
c7718f2b3b
Fix Sonos polling mode ( #47498 )
2021-03-06 10:21:00 +01:00
Tobias Sauerwein
39baeb62f2
Add Sonos media browser image proxy ( #46902 )
2021-02-24 20:51:12 +01:00
Franck Nijhof and Tobias Sauerwein
ea4bbd771f
Add service names to previously enriched services ( #46929 )
...
Co-authored-by: Tobias Sauerwein <cgtobi@users.noreply.github.com >
2021-02-23 14:10:13 +01:00
HomeAssistant Azure
0cb1f61deb
[ci skip] Translation update
2021-02-21 00:07:04 +00:00
J. Nick Koston
41332493b5
Add suggested area support to Sonos ( #46794 )
2021-02-19 21:28:52 -10:00
Bram Kragten and Franck Nijhof
6986fa4eb6
Add target to services.yaml ( #46410 )
...
Co-authored-by: Franck Nijhof <git@frenck.dev >
2021-02-16 09:35:27 +01:00
Paulus Schoutsen
959ed6d077
Update translations
2021-02-03 11:46:49 +01:00
Anders Melchiorsen
1fd3a86239
Upgrade pysonos to 0.0.40 ( #45743 )
2021-01-30 15:38:43 +01:00
jjlawren
411cc6542c
Move Plex->Sonos playback to built-in service ( #45066 )
...
* Move Plex->Sonos playback service from integration to platform
* Test against 'native' Plex media_players
* Add Plex to Sonos after_dependencies
* Remove circular dependency
* Raise exceptions in failed service calls
* Add test to forward service call from Sonos
* Additional Sonos->Plex tests
* Fix docstring
2021-01-13 15:24:44 +01:00
HomeAssistant Azure
42f00cff30
[ci skip] Translation update
2020-12-04 00:05:42 +00:00
Anders Melchiorsen
47ff04d9ad
Optimize reading of Sonos source mode ( #43541 )
2020-11-23 10:20:06 +01:00
Anders Melchiorsen
9ffdec63cc
Optimize Sonos current playing state ( #43517 )
2020-11-22 22:16:03 +01:00
Anders Melchiorsen
62da64867c
Optimize Sonos favorites updates ( #43516 )
2020-11-22 14:04:46 +01:00
Anders Melchiorsen
7319c4692d
Optimize Sonos queue position ( #43514 )
2020-11-22 12:25:13 +01:00
Paulus Schoutsen
bae026a6fe
Add support for selectors in services.yaml ( #43162 )
...
* Add support for selectors in services.yaml
* Add base schema validation
2020-11-13 22:53:55 +01:00
Anders Melchiorsen
96641cab02
Fix playing of Spotify URIs on Sonos ( #43154 )
2020-11-13 09:40:00 +01:00
HomeAssistant Azure
aab0ff2ea5
[ci skip] Translation update
2020-11-03 00:04:39 +00:00
HomeAssistant Azure
ed232ac733
[ci skip] Translation update
2020-10-24 00:05:17 +00:00
Anders Melchiorsen
30b454ddb7
Fix Sonos shuffle/repeat state with Spotify Connect ( #41939 )
2020-10-17 09:40:43 +02:00
HomeAssistant Azure
994ae09f69
[ci skip] Translation update
2020-10-15 00:03:50 +00:00
Anders Melchiorsen and cgtobi
b5308bda09
Add Sonos support for media_player.repeat_set service ( #41735 )
...
* Add Sonos support for media_player.repeat_set service
* Update homeassistant/components/sonos/media_player.py
* Remove else for pylint
Co-authored-by: cgtobi <cgtobi@users.noreply.github.com >
2020-10-13 00:30:38 +02:00
HomeAssistant Azure
80522f1bdc
[ci skip] Translation update
2020-10-11 00:03:37 +00:00
HomeAssistant Azure
6ae12c3faf
[ci skip] Translation update
2020-10-10 00:05:05 +00:00
HomeAssistant Azure
29aea5a66c
[ci skip] Translation update
2020-10-09 00:04:33 +00:00