Anders Melchiorsen
c628c2cef2
Identify more Sonos radio stations with poor titles ( #33609 )
2020-04-03 22:41:39 -07:00
Paulus Schoutsen
f1d3c0d19b
Remove unused manifest fields ( #33595 )
2020-04-03 12:58:19 -07:00
Paulus Schoutsen
aaa1d06809
Directly call async_write_ha_state ( #33508 )
...
* Directly call async_write_ha_state
* Address comments
* Fix tests
2020-04-01 14:19:51 -07:00
Anders Melchiorsen
03a090e384
Fixes for Sonos media position ( #33379 )
2020-03-28 16:15:32 -07:00
Anders Melchiorsen
699ca44260
Clean up Sonos attributes for radio streams ( #33063 )
2020-03-21 12:17:00 -07:00
Paulus Schoutsen
1fe26c77e0
Sonos idle ( #32712 )
...
* Sonos idle
* F-string
* Add to properties
* Fixes
2020-03-12 14:47:57 -07:00
Georgi Gardev
aed15761de
Sonos: Return URI as media_content_id ( #32626 )
2020-03-10 08:17:07 +01:00
HomeAssistant Azure
8257165562
[ci skip] Translation update
2020-02-23 00:31:50 +00:00
Paulus Schoutsen
e019280d94
Annotate more async functions correctly ( #31802 )
2020-02-14 10:00:22 -08:00
Franck Nijhof
0173c61fee
Spelling: Config(uration) ( #31782 )
2020-02-13 08:27:00 -08:00
Paulus Schoutsen
8d2086d076
Sonos services to work without admin access ( #31506 )
2020-02-05 15:50:20 -08:00
Paulus Schoutsen
0c3ffbe282
Add foundation for integration services ( #30813 )
...
* Add foundation for integration services
* Fix tests
* Remove async_get_platform
* Migrate Sonos partially to EntityPlatform.async_register_entity_service
* Tweaks
* Move other Sonos services to media player domain
* Move other Sonos services to media player domain
* Address comments
* Remove lock
* Fix typos
* Use make_entity_service_schema
* Add area extraction to async_extract_entities
Co-authored-by: Anders Melchiorsen <amelchio@nogoto.net>
2020-01-19 17:55:18 -08:00
Franck Nijhof
a84741392b
Format all manifests with prettier ( #30521 )
2020-01-06 21:28:23 +01:00
HomeAssistant Azure
13116d8d3f
[ci skip] Translation update
2019-12-30 00:32:19 +00:00
HomeAssistant Azure
bb35d93fde
[ci skip] Translation update
2019-12-25 00:32:06 +00:00
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
Ville Skyttä
1679ec3245
SSDP matching improvements ( #28285 )
...
* SSDP matching improvements
- support multiple match groups per domain
- require matches on all, not any item in a group
- support matching on all UPnP device description data
* Manifest structure fixes
2019-11-02 12:30:09 -07:00
Michał Mrozek
bfba46d64a
move imports in sonos component ( #27938 )
2019-10-19 23:52:42 +02:00
Tim McCormick
2a269fb9eb
Update pysonos to 0.0.24 ( #27937 )
2019-10-19 22:54:36 +02:00
Franck Nijhof
c7da781efc
Update documentation link URL for integrations in all manifests ( #27114 )
2019-10-02 09:25:44 -07:00
HomeAssistant Azure
b04a70995e
[ci skip] Translation update
2019-09-27 00:32:12 +00:00
Anders Melchiorsen
aac2c3e91c
Update codeowners ( #26733 )
2019-09-19 14:39:57 -07: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
Paulus Schoutsen
e69953fe2d
Update translations
2019-08-28 12:45:48 -07: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
37d78af42c
Add translations
2019-07-31 16:16:40 -07:00
Paulus Schoutsen
4de97abc3a
Black
2019-07-31 12:25:30 -07:00
Anders Melchiorsen
5e805768aa
Update pysonos to 0.0.22 ( #25399 )
2019-07-23 06:31:05 +02:00
Anders Melchiorsen
5e5abf77da
Update pysonos to 0.0.21 ( #25168 )
2019-07-16 04:22:41 +02: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
6e14e8ed91
Update pysonos to 0.0.17 ( #24740 )
2019-06-24 14:59:15 -07: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
Paulus Schoutsen
08591dae0e
Migrate Sonos discovery to manifest ( #24507 )
2019-06-13 11:09:07 -07: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
Paulus Schoutsen
1e22c8daca
Automatically generate config flow list ( #23802 )
...
* Add config flow to manifest.json
* Still load config flows via config flow platform
* Fix typo
* Lint
* Update config_flows.py"
* Catch import error when setting up entry
* Lint
* Fix tests
* Fix imports
* Lint
* Fix Unifi tests
* Fix translation test
* Add homekit_controller config flow
2019-05-13 01:16:55 -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
6a6a999833
Upgrade pysonos to 0.0.12 ( #23560 )
2019-04-30 08:45:56 -04: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
Paulus Schoutsen
a52f96b23a
Add stub services.yaml and make validation mandatory ( #23213 )
2019-04-18 15:13:35 -07:00
cgtobi
2c07bfb9e0
Remove dependencies and requirements ( #23024 )
...
* Remove dependencies and requirements
* Revert "Remove dependencies and requirements"
This reverts commit fe7171b4cd
.
* Remove dependencies and requirements
* Revert "Remove dependencies and requirements"
This reverts commit 391355ee2c
.
* Remove dependencies and requirements
* Fix flake8 complaints
* Fix more flake8 complaints
* Revert non-component removals
2019-04-12 10:13:30 -07:00
Paulus Schoutsen
e9d9861bda
Update translations
2019-04-10 15:01:32 -07:00
Anders Melchiorsen
6244a397b1
Hide unsupported Sonos favorites ( #22940 )
2019-04-09 23:09:18 +02:00
Paulus Schoutsen
0d2646ba25
Update translations
2019-04-09 08:34:20 -07:00
Anders Melchiorsen
d577955d1e
Fix Sonos handling of unsupported favorites ( #22906 )
2019-04-08 19:32:56 -05:00
Paulus Schoutsen
cfe4cf30ad
Add manifests ( #22699 )
...
* Add manifests
* Update auto name
* Update codeowners
* Add requirements from platforms
* Minor cleanup
* Incorporate changes from awarecan PR
2019-04-03 21:14:45 -07:00
Paulus Schoutsen
72bb94de96
Update translations
2019-03-21 12:57:20 -07: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
0f6e0aa355
Upgrade pysonos to 0.0.8 ( #21624 )
2019-03-03 18:49:29 +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
Paulus Schoutsen
3fcbc36abe
Update translations
2019-02-21 16:40:25 -08: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
Anders Melchiorsen
63b19094c1
Improve Sonos discovery ( #20196 )
2019-01-18 13:43:48 +01:00
Paulus Schoutsen
96b8c517f0
Update translations
2019-01-13 09:38:22 -08:00
Paulus Schoutsen
fe2d24c240
Update translations
2018-12-10 09:54:12 +01:00
Paulus Schoutsen
83311df933
Add translations
2018-12-06 00:30:33 +01:00
Anders Melchiorsen
c6ca27e9b4
Improve handling of unavailable Sonos speakers ( #18534 )
2018-11-17 13:18:51 +01:00
Paulus Schoutsen
75bb78d440
Update translations
2018-11-15 14:30:37 +01:00
Paulus Schoutsen
20fb7b59ef
Update translations
2018-10-30 11:35:40 +01:00
Paulus Schoutsen
355005114b
Update translations
2018-10-21 20:34:28 +02:00
Paulus Schoutsen
d16e6c8524
Update translations
2018-10-10 14:25:21 +02:00
Paulus Schoutsen
38e2926a48
Update translations
2018-10-02 14:33:47 +02:00
Anders Melchiorsen
24e9c62fe7
Upgrade pysonos to 0.0.3 ( #16901 )
...
This version has downgraded/removed some logging that we then no
longer have to hide.
2018-09-27 01:09:30 +02:00
Paulus Schoutsen
732009c668
Update translations
2018-09-26 15:39:20 +02:00
Paulus Schoutsen
d4b239d1d4
Update translations
2018-09-24 12:01:01 +02:00
Anders Melchiorsen
c475a876ce
Upgrade pysonos to 0.0.2 ( #16761 )
2018-09-21 09:21:56 +02:00
Anders Melchiorsen
78b6439ee6
Use pysonos for Sonos media player ( #16753 )
2018-09-20 23:50:11 +02:00
Paulus Schoutsen
849a93e0a6
Update translations
2018-09-17 10:48:22 +02:00
Paulus Schoutsen
201fd4afee
Add config entries to connection class ( #16618 )
2018-09-17 10:12:46 +02:00
Paulus Schoutsen
1d6609e386
Update translations
2018-09-10 13:44:27 +02:00
Paulus Schoutsen
a2a447b466
Update translations
2018-09-03 13:21:37 +02:00
Paulus Schoutsen
5e8a1496d7
Update translations
2018-08-31 13:23:22 +02:00
Paulus Schoutsen
3d5b3fb6ff
Update translations
2018-08-24 15:54:47 +02:00
Ville Skyttä
dbd0763f83
Grammar and spelling fixes ( #16065 )
2018-08-19 22:29:08 +02:00
Anders Melchiorsen
f2e399ccf3
Update SoCo to 0.16 ( #16007 )
2018-08-17 07:41:56 +02:00
Jason Hu
f58425dd3c
Refactor data entry flow ( #15883 )
...
* Refactoring data_entry_flow and config_entry_flow
Move SOURCE_* to config_entries
Change data_entry_flow.FlowManager.async_init() source param default
to None
Change this first step_id as source or init if source is None
_BaseFlowManagerView pass in SOURCE_USER as default source
* First step of data entry flow decided by _async_create_flow() now
* Lint
* Change helpers.config_entry_flow.DiscoveryFlowHandler default step
* Change FlowManager.async_init source param to context dict param
2018-08-09 13:24:14 +02:00