Erik Montnemery
02bfc68842
Support dynamic Google Cast groups ( #44484 )
...
* Re-add support for dynamic groups
* Add tests
* Add support for manufacturer
* Refactor support for dynamic groups
* Bump pychromecast to 7.7.0
* Bump pychromecast to 7.7.1
* Tweak tests
* Apply review suggestion
2021-01-06 09:23:18 +01:00
Erik Montnemery
31b806ced1
Revert "Change http to auto for cast media image url" ( #44327 )
2020-12-17 17:43:52 +01:00
springstan
d5efb3e3de
Remove temporary variable by only retrieving needed value ( #42522 )
2020-11-29 00:44:25 +01:00
jjlawren
e6e4c9cf59
Allow Cast to play Plex media ( #41869 )
...
* Allow Cast to play Plex media
* Add Plex to after_dependencies, add missing constant
* Extract function from Sonos service to allow media lookups
* Move to non-async method
* Check if media_id exists
* Add test to make codecov happy
2020-10-19 16:34:22 -05:00
J. Nick Koston
5c540dcfcf
Update cast to use async_add_executor_job ( #41794 )
2020-10-13 15:39:43 -05:00
Erik Montnemery
3f263d5cbe
Remove deprecated host & platform configuration for cast ( #41402 )
2020-10-07 18:01:34 +02:00
Paulus Schoutsen
4d5948b4d0
Use dict syntax ( #41325 )
2020-10-06 15:02:23 +02:00
Franck Nijhof
f95416bd98
Remove deprecation invalidation version from cast integration ( #41197 )
2020-10-04 12:54:03 +02:00
Bram Kragten
1eb086e86d
Revert using own cast app for media ( #40937 )
2020-10-01 11:05:00 +02:00
Bram Kragten
ac71641c18
Use the Home Assistant Cast app to play media on Chromecast ( #40782 )
2020-09-30 17:20:18 +02:00
Jason Hunter
8bc62f3678
Fix camera play stream ( #40641 )
...
Co-authored-by: Justin Wong <46082645+uvjustin@users.noreply.github.com>
2020-09-28 14:24:30 +02:00
Franck Nijhof
540b925659
Fix missing f from f-strings in cast integration ( #40144 )
2020-09-16 17:04:57 +02:00
Bram Kragten
90c6e1c449
Fix cast media player browser ( #39745 )
2020-09-07 13:44:10 +02:00
Jason Hunter
f2b3e63ff6
Media Source implementation for Chromecast ( #39305 )
...
* Implement local media finder and integrate into cast
* update to media source as a platform
* Tweak media source design
* fix websocket and local source
* fix websocket schema
* fix playing media
* Apply suggestions from code review
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
* Add resolve_media websocket
* Register that shit
* Square brackets
* Sign path
* add support for multiple media sources and address PR review
* fix lint
* fix tests from auto whitelisting config/media
* allow specifying a name on the media source
* add tests
* fix for python 3.7
* Apply suggestions from code review
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
* add http back to cast and remove guess_type from executor as there is no i/o
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
2020-09-04 11:16:29 -04:00
Erik Montnemery
18047726b6
Remove ending period from cast log
2020-08-22 09:01:17 +02:00
Erik Montnemery
91ba8c0ef0
Warn when casting of tts fails ( #38603 )
...
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2020-08-21 17:17:36 +02:00
Erik Montnemery
af9ae2e0a4
Allow empty cast media_player config ( #38971 )
2020-08-18 08:04:32 +02:00
Kendell R
0cdd47b014
Change http to auto for cast media image url ( #38242 )
...
* Change http to auto
* Update media_player.py
* Update test_media_player.py
* Update test_media_player.py
* Update test_media_player.py
* Update test_media_player.py
* Update test_media_player.py
* Update test_media_player.py
* Update test_media_player.py
* Update test_media_player.py
* Update test_media_player.py
* Format
2020-08-06 17:21:45 +02:00
Erik Montnemery
c994904e75
Bump pychromecast to 7.1.2 ( #37976 )
2020-07-19 12:36:59 +02:00
Franck Nijhof
621c375a25
Remove dead code from cast ( #37620 )
2020-07-07 20:34:30 +02:00
Franck Nijhof
53545c984b
Log lines do not end with a full stop ( #37527 )
2020-07-05 23:04:19 +02:00
Erik Montnemery
86c27b50f1
Bump pychromecast to 7.0.1 ( #37225 )
...
* Bump pychromecast to 7.0.1
* Fix tests
* Mark configuration via platform for removal in 0.116
* Fix uuid check
2020-06-30 16:35:10 +02:00
J. Nick Koston
7e56f2cc0e
Update cast to use shared zeroconf ( #35570 )
...
* Update cast to use the shared zeroconf instance
* Add zeroconf to after_dependencies
* Bump version to 5.2.0
2020-05-15 11:09:21 -05:00
Eerovil
3de4bc56b5
Add cast app media ( #35114 )
...
* Extend media_play for media_type cast
2020-05-11 19:22:26 +02:00
Erik Montnemery
62bc02fdda
Rename MediaPlayerDevice to MediaPlayerEntity ( #34592 )
2020-04-25 18:00:57 +02:00
Erik Montnemery
8e150ff1f5
Bump pychromecast ( #34466 )
...
* Bump pychromecast
* Fix tests
2020-04-21 07:57:39 +02:00
Erik Montnemery
ec2c7ea932
Don't do http requests to determine Cast device details ( #34082 )
...
* Don't do http requests to determine cast device details
* Fix tests
* Update homeassistant/components/cast/media_player.py
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
2020-04-12 15:02:28 -07:00
Erik Montnemery
6d3046cb42
Remove support for cast dynamic speaker groups ( #33884 )
2020-04-10 10:36:57 -07:00
Erik Montnemery
a0b3a9e50b
Discover manually added casts ( #33922 )
...
* Discover manually added casts
2020-04-10 17:19:44 +02: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
Bram Kragten
a6d5ed0160
Add support for dashboards to lovelace cast service ( #32913 )
2020-03-26 16:23:46 -07:00
springstan
b41cbe9885
Add www. to all documentation links ( #32063 )
...
* Add www. to all documentation links
* Fix broken redirect uri test
2020-02-21 16:10:02 -08:00
Bas Nijholt
f5288db93c
use isort to sort imports according to PEP8 for cast ( #29624 )
2019-12-08 22:00:57 +05:30
Paulus Schoutsen
adaa200935
Home Assistant Cast ( #26566 )
...
* Add backend support for Home Assistant Cast
* Update test reqs
2019-09-11 12:34:10 -06:00
Paulus Schoutsen
7468cc21be
Refactor Cast ( #26550 )
...
* Refactor Cast
* Fix tests & address comments
* Update reqs
2019-09-10 13:05:46 -07:00
Ville Skyttä
33e1b44b3a
Use PEP 526 type annotations, add some type hints ( #26464 )
...
* Add some more type hints to helpers.event
* Change most type comments to variable types
* Remove some superfluous type hints
2019-09-07 09:48:58 +03:00
Paulus Schoutsen
0ccffc3e55
Lint
2019-07-31 12:46:17 -07:00
Paulus Schoutsen
4de97abc3a
Black
2019-07-31 12:25:30 -07:00
Franck Nijhof
31f569ada9
Batch of Component(s) -> Integration(s) ( #24972 )
2019-07-05 15:24:26 -07:00
Erik Montnemery
84f778d23c
Improve logging of exceptions in async_create_task ( #22689 )
...
* Improve logging of exceptions in async_create_task
* Move wrapping+logging to util.logging
* Minor refactor, fix typing
* Add test
* Remove useless @wraps, fix confusing parameter name
* Review comment
2019-04-29 09:53:22 -07:00
Erik Montnemery
2f45a7e3b9
Fix cleanup of dynamic group ( #23475 )
2019-04-28 12:09:06 -07:00
Paulus Schoutsen
de6fdb09f4
Add media player external url ( #23337 )
...
* Add media player external url
* Lint
* Simplify
* Update __init__.py
* Update __init__.py
* Use 302
2019-04-24 22:37:29 -07:00
Erik Montnemery
55619da722
Remove unused group status ( #22791 )
2019-04-06 20:31:21 -07:00
emontnemery
e736521e9f
Fix regression from PR #22396 ( #22661 )
...
* Fix regression from PR #22396
* Fix test
2019-04-02 19:58:28 -07:00
emontnemery
4f2435103b
Cast: Fix next/previous track ( #22634 )
...
* Fix next/previous track
* Bump pychromecast
* Update test, fixup
2019-04-02 19:58:02 -07:00
emontnemery
54777a81bc
Forward media control to playing group ( #22566 )
...
* Forward media control to playing group
* Fix forwarding control to dynamic group
* Fix, add tests
2019-03-30 20:07:01 -07:00
emontnemery
2e375aa802
Improve handling of audio groups ( #22396 )
...
* Improve handling of audio groups
* Review comments
* Fix tests
* Add tests
* Review comment
* Bump pychromecast
2019-03-30 10:19:18 -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
emontnemery
fc85b3fc5f
Don't hang forever if manually added cast is down ( #21565 )
...
* Don't hang forever if manually added cast is down
* Adapt to pychromecast
* Do not set available until connected
* Update __init__.py
* Update requirements
* Lint, tests
* Fix tests
2019-03-10 19:57:30 -07: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