Erik Montnemery
b254218dd6
Remove `base_url` configuration option from `tts` ( #94905 )
2023-06-21 11:20:33 +02:00
Erik Montnemery
02b76be0ba
Use config entry setup in cast tests ( #93595 )
...
* Use config entry setup in cast tests
* Remove import step from config flow
* Remove import tests
* Fix tests
2023-05-27 21:07:54 -04:00
Erik Montnemery
e3c16e634b
Allow exposing entities not in the entity registry to assistants ( #92363 )
2023-05-02 22:08:09 +02:00
Erik Montnemery
41ea8fa9b4
Guess media type when cast is playing media without media type ( #90048 )
2023-03-21 10:01:35 -04:00
Paulus Schoutsen
f465561536
Fix dangling task for cast ( #88285 )
2023-02-17 18:43:40 +01:00
Franck Nijhof
ed79265843
Enable Ruff PT006 ( #88165 )
...
* Enable Ruff PT006
* Adjust existing cases
* Fix tests
* Remove unneeded parentheses
2023-02-15 14:09:50 +01:00
epenet
fa7acb4f0d
Add type hints to integration tests (part 3) ( #87844 )
2023-02-10 16:05:01 +01:00
epenet
807c69f621
Add type hints to integration tests (b-c) ( #87698 )
2023-02-08 18:08:43 +01:00
Franck Nijhof
c56832bb2c
Enable Ruff SIM300 ( #86793 )
2023-01-30 11:03:23 +01:00
epenet
30bf0634fe
Add per-file-ignore to pylint ( #86289 )
2023-01-22 17:26:24 +01:00
Franck Nijhof
24fdd588fd
Code styling tweaks to the tests - Part 1 ( #86192 )
2023-01-20 13:52:46 +01:00
Franck Nijhof
05c32c51fd
Code styling tweaks to the Cast integration ( #85560 )
2023-01-10 09:57:13 +01:00
epenet
0ac581a0b1
Cleanup EntityFeature in tests ( #78859 )
2022-09-21 10:48:55 +02:00
epenet
41d2ac3943
Cleanup MediaClass and MediaType in tests ( #78817 )
...
Cleanup MediaClass/MediaType in tests
2022-09-20 17:55:13 +02:00
Erik Montnemery
996544da2d
Poll cast groups when media player is added or reconnected ( #74610 )
2022-07-07 14:51:16 +02:00
J. Nick Koston
6c3baf03aa
Make dispatcher setup lazy ( #74374 )
2022-07-04 14:58:35 +02:00
Erik Montnemery
00810235c9
Track tasks adding entities ( #73828 )
...
* Track tasks adding entities
* Update homeassistant/config_entries.py
* fix cast tests
Co-authored-by: J. Nick Koston <nick@koston.org>
2022-06-29 09:38:35 +02:00
Erik Montnemery
d9a7c4a483
Only lookup unknown Google Cast models once ( #71348 )
...
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2022-05-05 11:04:00 -07:00
Erik Montnemery
66551e6fcb
Add state buffering to media_player and use it in cast ( #70802 )
2022-04-27 09:49:50 +02:00
Erik Montnemery
ce302f4540
Play first item in m3u and pls playlists when casting ( #70047 )
...
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2022-04-26 13:16:37 -07:00
Erik Montnemery
23d9e135bc
Allow 'turning on' cast groups ( #70642 )
...
* Allow 'turning on' cast groups
* Adjust test
2022-04-25 14:41:24 +02:00
Erik Montnemery
1645ab25a6
Use quickplay when casting splash for mediaplayer.turn_on ( #69866 )
2022-04-12 10:06:25 -07:00
Paulus Schoutsen
929df2bc29
Improve error handling process_play_media_url ( #68322 )
2022-03-20 20:25:15 -07:00
Paulus Schoutsen
8bbbd1947d
Raise if referenced entity does not support service ( #68394 )
2022-03-20 16:01:58 -07:00
Paulus Schoutsen
d68ada74cc
Restore children media class ( #67409 )
2022-03-01 15:14:14 -08:00
Erik Montnemery
148762ce3f
Improve cast test for removing device ( #67385 )
2022-02-28 11:08:27 -08:00
Paulus Schoutsen
459e6c273b
Track hidden items in media source ( #67096 )
2022-02-23 09:51:01 +01:00
Erik Montnemery
31867d54b6
Add Google Cast groups to device registry ( #66805 )
2022-02-22 10:26:41 +01:00
Erik Montnemery
c582aecc10
Deduplicate code in cast media_player ( #66815 )
...
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2022-02-19 21:14:31 -08:00
Erik Montnemery
f1648960f5
Improve cleanup of Google Cast entities ( #66801 )
2022-02-18 15:05:14 +01:00
Erik Montnemery
795d249c8c
Small improvement of cast test ( #66513 )
2022-02-14 15:06:33 +01:00
Paulus Schoutsen
716a1e2a64
Add camera media source ( #65977 )
2022-02-08 14:32:02 -08:00
Erik Montnemery
7cc6770f83
Revert "Make idle chromecasts appear as idle instead of off" ( #66005 )
2022-02-07 20:24:30 +01:00
Erik Montnemery
80da5c52ae
Correct cast media browse filter for audio groups ( #65288 )
2022-01-31 11:45:48 +01:00
Erik Montnemery
b0c36d7729
Add cast platform for extending Google Cast media_player ( #65149 )
...
* Add cast platform for extending Google Cast media_player
* Update tests
* Refactor according to review comments
* Add test for playing using a cast platform
* Apply suggestions from code review
Co-authored-by: jjlawren <jjlawren@users.noreply.github.com>
* Pass cast type instead of a filter function when browsing
* Raise on invalid cast platform
* Test media browsing
Co-authored-by: jjlawren <jjlawren@users.noreply.github.com>
2022-01-31 10:50:05 +01:00
jjlawren
cdad1a9f27
Use local Sonos API for Plex music playback ( #63357 )
2022-01-25 21:10:11 -08:00
Erik Montnemery
09986436a1
Make idle chromecasts appear as idle instead of off ( #61786 )
2022-01-07 14:19:41 +01:00
Erik Montnemery
eda9291ca1
Improve google cast state reporting ( #62587 )
2021-12-22 14:54:36 +01:00
Erik Montnemery
a7a0cfd9e6
Make it possible to turn on audio only google cast devices ( #62420 )
2021-12-20 11:18:11 -08:00
Erik Montnemery
c96606df68
Don't use the homeassistant media app when casting media ( #62385 )
2021-12-20 14:28:02 +01:00
Erik Montnemery
f17164fa47
Don't override pychromecast MediaController's APP ID ( #61796 )
2021-12-15 10:40:37 +01:00
Erik Montnemery
615198a58f
Use pychromecast CastInfo type in cast integration ( #60205 )
2021-11-23 23:17:58 +01:00
Erik Montnemery
bfafeb7965
Don't mock all of pychromecast in tests ( #59839 )
2021-11-18 11:28:35 +01:00
Erik Montnemery
593bc866f0
Bump pychromecast to 10.1.0 ( #59719 )
...
* Prepare for pychromecast 10
* Bump pychromecast to 10.0.0
* Bump pychromecast to 10.1.0
* Update homeassistant/components/cast/discovery.py
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2021-11-17 09:05:25 +01:00
Erik Montnemery
e88ea2d48c
Show cast as playing when an app without media support is active ( #59714 )
2021-11-15 20:13:43 +01:00
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
731bec3145
Improve test coverage ( #59531 )
2021-11-11 10:25:23 +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
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
jan iversen
6a4f414236
Change HomeAssistantType to HomeAssistant ( #49522 )
2021-04-21 15:53:06 -10:00