Erik Montnemery
a29264518c
Don't allow turning on audio only chromecasts ( #59495 )
...
* Don't allow turning on audio only chromecasts
* Improve tests
* Adjust tests
2021-11-11 12:33:15 +01:00
Erik Montnemery
a14131a679
Suppress media status when the lovelace cast app is active ( #59481 )
...
Co-authored-by: Bram Kragten <mail@bramkragten.nl>
2021-11-10 22:33:07 -08:00
Bram Kragten
47b6755177
Google Cast: Use own media player app ( #55524 )
2021-11-10 19:40:49 +01:00
Robert Hillis
137d41d8b4
Use DeviceInfo Class B-C ( #58217 )
2021-10-23 11:41:32 +02:00
Marc Mueller
f149bef9f3
Use assignment expressions 18 ( #57967 )
2021-10-18 18:36:35 +02:00
Robert Hillis
13443310fe
Use entity class attributes for Cast ( #53348 )
2021-07-27 20:03:13 +02:00
Erik Montnemery
600bea2459
Enable basic type checking for Google cast ( #52434 )
...
* Enable basic type checking for Google cast
* tweak
2021-07-05 11:14:41 +02:00
blawford
0709aa7c8c
Pass metadata when casting an app ( #51148 )
...
* Pass through metadata when casting an app
* Remove passing kwargs to quick_play
Add metadata to the app_data dict.
* Include pass-through of metadata
* Bump pychromecast to 9.2.0
* Add changes to test to verify metadata
* Fix order of imports
2021-06-14 08:48:32 +02:00
Shay Levy
cf228e3fe5
Add constructor return type in integrations A-D ( #50903 )
2021-05-20 18:51:39 +03:00
Erik Montnemery
575b8340fc
Fix entity_id change for Google Cast ( #49743 )
2021-04-28 01:40:41 +02:00
Erik Montnemery
96e7ae94f8
Fix config entry reference for Home Assistant Cast user ( #49729 )
...
* Fix config entry reference for Home Assistant Cast user
* Simplify config_entry lookup
2021-04-27 11:20:10 +02:00
Franck Nijhof
006bcde435
Remove HomeAssistantType alias - Part 3 ( #49339 )
2021-04-17 12:48:03 +02:00
Erik Montnemery
f5545badac
Quote media_source paths ( #49054 )
...
* Quote path in async_sign_path
* Address review comments, add tests
* Update tests/testing_config/media/Epic Sax Guy 10 Hours.mp4
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
2021-04-12 18:32:12 +02:00
Ph-Wagner
b66c4a9dca
Extend Google Cast media source URL expiry to 24h ( #48937 )
...
* Extend media source URL expiry to 12h
closes #46280
After checking out https://github.com/home-assistant/core/pull/48912 I just think why not.
* Update homeassistant/components/cast/media_player.py
Co-authored-by: Erik Montnemery <erik@montnemery.com>
2021-04-09 18:02:06 +02:00
Erik Montnemery
46371a9e87
Fix whitespace error in cast ( #48763 )
2021-04-07 11:12:31 +02:00
J. Nick Koston
5f8fcca5ad
Solve cast delaying startup when discovered devices are slow to setup ( #48755 )
...
* Solve cast delaying startup when devices are slow to setup
* Update homeassistant/components/cast/media_player.py
Co-authored-by: Erik Montnemery <erik@montnemery.com>
Co-authored-by: Erik Montnemery <erik@montnemery.com>
2021-04-07 09:39:04 +02:00
Franck Nijhof
db355f9b23
Merge of nested IF-IF cases - A-C ( #48365 )
2021-03-27 10:58:38 +01:00
Erik Montnemery
3188f796f9
Add allowed UUIDs and ignore CEC to Google Cast options flow ( #47269 )
2021-03-25 14:06:01 +01:00
Franck Nijhof
6932cf9534
Use contextlib.suppress where possible ( #48189 )
2021-03-23 14:36:43 +01:00
Marc Mueller
7c0734bdd5
Update typing 05 ( #48038 )
2021-03-17 23:43:55 +01:00
Erik Montnemery
96cc17b462
Add support for a list of known hosts to Google Cast ( #47232 )
2021-03-01 15:18:18 -08:00
Erik Montnemery
dfbb653107
Bump pychromecast to 9.0.0 ( #47086 )
...
* Adapt to Pychromecast 9.0.0
* Bump pychromecast to 9.0.0
* Fix lint issues
2021-02-26 13:43:53 +01:00
Erik Montnemery
c66d9ea25c
Hide volume control for cast devices with fixed volume ( #46328 )
2021-02-10 08:39:10 -05:00
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