Ville Skyttä
99c7608fb4
Lint config cleanups ( #28864 )
...
* Remove bunch of unneeded lint exclusions
* Use symbolic names instead of identifiers in pylint disables
* Tighten scope of some pylint disables
2019-11-25 22:40:08 -08:00
Tim McCormick
5cbb6607a6
Fix missing import ( #28460 )
2019-11-02 21:25:24 -07:00
Michał Mrozek
bfba46d64a
move imports in sonos component ( #27938 )
2019-10-19 23:52:42 +02:00
Franck Nijhof
445c741b30
Use literal string interpolation in integrations R-S (f-strings) ( #26392 )
2019-09-03 21:14:39 +02:00
Anders Melchiorsen
3534b8a977
Fix race during initial Sonos group construction ( #26371 )
...
* Fix race during initial Sonos group construction
* Update homeassistant/components/sonos/media_player.py
2019-09-03 14:14:33 +02:00
ahertz
7fd53ac912
Sonos playlists play media ( #26054 )
...
* Add handling for Sonos playlists in media_player.play_media
* Avoid breaking change by falling back to previous behavior
* Use the proper MEDIA_TYPE_PLAYLIST constant.
* Addressed comments, restricting media_type to music or playlist
2019-08-20 10:53:45 -07:00
Anders Melchiorsen
cbcf49a3ba
Improve Sonos error handling on slow networks ( #25902 )
2019-08-14 09:17:58 -07:00
Paulus Schoutsen
4de97abc3a
Black
2019-07-31 12:25:30 -07:00
Anders Melchiorsen
1798522ec8
Handle Sonos connection errors during setup ( #25135 )
2019-07-14 14:36:05 -07:00
Anders Melchiorsen
6173d7c8a0
Support podcast episodes as Sonos favorites ( #25087 )
2019-07-12 07:08:57 +02:00
Anders Melchiorsen
1afa136fc0
Fix for Sonos debug logging ( #25064 )
...
* Fix for Sonos debug logging
* Start logging messages with capital letters
2019-07-10 12:19:28 -07:00
Anders Melchiorsen
18d27c997d
Add Sonos debug logging ( #25063 )
2019-07-10 09:30:45 -07:00
Adriaan Peeters
412910ca65
Add sonos.play_queue service ( #24974 )
...
* Add sonos.play_queue service
* Add SERVICE_PLAY_QUEUE import in alphabetical order
* Add queue_position parameter for sonos.play_queue service
* Move queue_position default to schema definition
2019-07-06 17:19:03 +02:00
Anders Melchiorsen
a1aaeab33a
Update pysonos to 0.0.19 ( #24930 )
2019-07-03 19:26:16 -04:00
Anders Melchiorsen
c0a342d790
Stability improvements for Sonos availability ( #24880 )
...
* Stability improvements for Sonos availability
* Handle seen reentrancy
2019-07-02 09:25:02 -04:00
Anders Melchiorsen
08e2959742
Update pysonos to 0.0.16 ( #24607 )
2019-06-19 10:09:50 +02:00
Anders Melchiorsen
1e248551d5
Update pysonos to 0.0.15 ( #24565 )
2019-06-16 19:41:13 +02:00
Anders Melchiorsen
b6bb6919e6
Update pysonos to 0.0.14 ( #24185 )
2019-05-30 09:24:38 +02:00
Anders Melchiorsen
f8572c1d71
Avoid slow updates with unavailable Sonos devices ( #24180 )
2019-05-29 15:05:12 -07:00
Anders Melchiorsen
bebfc3d16e
Remove unused Sonos turn on/off methods ( #24174 )
2019-05-29 11:12:44 -07:00
Anders Melchiorsen
97b671171b
Avoid useless Sonos state updates ( #24135 )
2019-05-26 12:49:26 -07:00
Paulus Schoutsen
f995ab9d54
Don't pass in loop ( #23984 )
...
* Don't pass in loop
* Revert some changes
* Lint + Axis revert
* reinstate loop
* Fix a test
* Set loop
* Update camera.py
* Lint
2019-05-22 21:09:59 -07:00
Anders Melchiorsen
34f6245e74
Synchronize Sonos service calls ( #23791 )
2019-05-10 22:37:03 +02:00
Anders Melchiorsen
2efc1de349
Move Sonos services to sonos domain ( #23670 )
2019-05-05 14:25:57 -05:00
Anders Melchiorsen
0ecf152153
Continuous discovery of Sonos speakers ( #23484 )
2019-04-29 10:20:09 +02:00
Anders Melchiorsen
5efe089699
Improve handling of unavailable Sonos speakers ( #23472 )
2019-04-27 19:05:50 +02:00
Anders Melchiorsen
5dbf58d67f
Remove support for deprecated Sonos configuration ( #23385 )
2019-04-26 08:56:43 +02:00
Anders Melchiorsen
d577955d1e
Fix Sonos handling of unsupported favorites ( #22906 )
2019-04-08 19:32:56 -05:00
Paulus Schoutsen
4b1de61110
Use relative imports inside integrations ( #22235 )
...
* Use relative imports inside integrations
* Lint
* Fix automation tests
* Fix scene imports
2019-03-20 22:56:46 -07:00
Anders Melchiorsen
de2c7a9567
Wait for Sonos regrouping in service calls ( #22006 )
2019-03-13 12:51:41 -07:00
Anders Melchiorsen
fe5e4b5b9b
Avoid playing queue pollution with Sonos unjoin ( #22004 )
2019-03-13 12:51:08 -07:00
Anders Melchiorsen
c8692fe70c
Use asyncio lock ( #21985 )
2019-03-13 10:17:09 +01:00
Anders Melchiorsen
dd11f8d3fe
Avoid playing queue pollution when restoring Sonos snapshots ( #21963 )
...
Assume a snapshot state with three speakers in two groups, AB and C. They will
be playing the A and C queues, respectively. The B queue exists but is hidden
in this topology.
Unjoin B and form a new group BC, playing the B queue (now with the C queue
hidden).
To restore the snapshot we would join B back to A. The BC group would now only
contain the C speaker, still playing the B queue. The C queue has been lost :-(
The problem is that unjoining a coordinator will elect a new coordinator that
inherits the group queue and thus has its hidden queue overwritten.
This commit avoids the situation by having restore unjoin all slaves. Above, C
would be unjoined before joining B to A. This restores the C queue and since B
is then alone, it can be joined to A without having to transfer its playing
queue to remaining speakers.
2019-03-12 14:39:55 +01:00
Anders Melchiorsen
193cab4f62
Improve new Sonos snapshot/restore ( #21509 )
...
* Fine-tune new Sonos snapshot/restore
* Move into class
2019-02-28 10:25:31 -08:00
Anders Melchiorsen
095a0d19d1
Fix Sonos snapshot/restore ( #21411 )
2019-02-25 13:03:15 -08:00
Anders Melchiorsen
a4bb35142c
Add Sonos discovery of multiple households ( #21337 )
...
* Remove confusing device naming
* Add discovery of multiple households
* Rename SonosDevice to SonosEntity
2019-02-24 18:45:08 +01:00
Fabian Affolter
127c55e0c1
Update file header ( #21023 )
...
* Update file header
* Update file header
* Update file header
* Update file header
* Update file header
* Fix lint issues
2019-02-13 21:21:14 +01:00
Joakim Plate
d16d14b648
Media player const.py move ( #20822 )
...
* Move more constants to const.py
* Import constants directly from const
* ATTR_ENTITY_ID is not defined in media_player
* MEDIA_PLAYER_PLAY_MEDIA_SCHEMA is still in __init__.py
* Correct imports in tts
* PLATFORM_SCHEMA, SCHEMA is still defined in __init__.py
* Pandora imports several services
* Some additional fixes for move of const in media_player
* Fix hound lengths
2019-02-08 14:18:18 -08:00
Paulus Schoutsen
ec57db78b5
Consolidate config flow components ( #20635 )
...
* Consolidate config flow components
* Fix tests
* Fix tests
* Put unifi back
* Fix reqs
* Update coveragerc
2019-02-01 15:45:44 -08:00