Commit Graph

304 Commits (a96aa64dd1dc9b1f47e14f3f4bb85b39560a37bd)

Author SHA1 Message Date
GitHub Action 47d3fb1dec [ci skip] Translation update 2022-01-23 00:13:53 +00:00
GitHub Action 9098c71cd4 [ci skip] Translation update 2022-01-22 00:13:08 +00:00
Paulus Schoutsen 63f8e437ed
Add Home Assistant Content user (#64337) 2022-01-21 10:06:39 -08:00
Josh Soref 6c24aa8ed9
spelling: components/cast (#64241)
Co-authored-by: Josh Soref <jsoref@users.noreply.github.com>
2022-01-19 19:43:20 +01:00
epenet 8bcf495caf
Import tts (#64212)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-01-17 22:01:28 -08:00
Marc Mueller 021debb5c5
Resolve implicit imports (#63832) 2022-01-10 17:10:46 +01:00
Erik Montnemery 09986436a1
Make idle chromecasts appear as idle instead of off (#61786) 2022-01-07 14:19:41 +01:00
Erik Montnemery 0ef30c4e37
Bump pychromecast to 10.2.3 (#63429) 2022-01-05 12:17:54 +01:00
epenet 803eaa8e22
Ensure admin service calls are typed (#63093)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-12-30 21:12:40 +01:00
epenet 4d8c9fc1ab
Add basic type hints to cast (#62746)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-12-29 12:30:16 +01:00
Erik Montnemery eda9291ca1
Improve google cast state reporting (#62587) 2021-12-22 14:54:36 +01:00
Franck Nijhof eb5a321a9f
Mark removed config schemas as removed (#61014) 2021-12-21 12:46:10 +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 ba818c0a95
Bump pychromecast to 10.2.2 (#62390) 2021-12-20 18:37:11 +01: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 a371d568c0
Bump pychromecast to 10.2.1 (#61811) 2021-12-15 10:40:06 +01:00
Marc Mueller 156435d1c2
Update integrations to use `async_setup_platforms` (#60956)
* Replace forward_entry_setup with setup_platforms

* Apply suggestions from code review

Co-authored-by: Marvin Wichmann <marvin@fam-wichmann.de>

Co-authored-by: Marvin Wichmann <marvin@fam-wichmann.de>
2021-12-04 08:57:24 +01:00
Paulus Schoutsen 914f7f85ec
Add local only users (#57598) 2021-11-29 14:01:03 -08:00
GitHub Action 3af54d96c7 [ci skip] Translation update 2021-11-28 00:14:19 +00:00
GitHub Action d3c020325b [ci skip] Translation update 2021-11-25 00:13:33 +00:00
Erik Montnemery 615198a58f
Use pychromecast CastInfo type in cast integration (#60205) 2021-11-23 23:17:58 +01:00
Erik Montnemery 7e08238cd8
Bump pychromecast to 10.1.1 (#60214) 2021-11-23 09:38:31 -06:00
GitHub Action 9e606abb0c [ci skip] Translation update 2021-11-23 00:13:54 +00:00
GitHub Action e98977fb49 [ci skip] Translation update 2021-11-21 00:13:51 +00:00
GitHub Action 9a85c8d894 [ci skip] Translation update 2021-11-18 00:12:48 +00: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
epenet b3ffc1e183
Adjust async_step_zeroconf signature for strict typing (#59503)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-11-15 18:05:45 +01:00
Erik Montnemery 81d1899094
Bump pychromecast to 9.4.0 (#59716) 2021-11-15 14:50:40 +01:00
GitHub Action 3f2b1fa952 [ci skip] Translation update 2021-11-12 00:12:35 +00: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 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
GitHub Action e35b83081e [ci skip] Translation update 2021-11-08 00:12:31 +00:00
GitHub Action 332a571bb4 [ci skip] Translation update 2021-11-07 00:12:38 +00:00
epenet e983370c27
Use zeroconf attributes (A-D) (#58835)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-11-02 12:27:06 -05:00
Marc Mueller b6d9e517c2
Use assignment expressions 37 (#58827) 2021-10-31 18:45:27 +01:00
Robert Hillis 137d41d8b4
Use DeviceInfo Class B-C (#58217) 2021-10-23 11:41:32 +02:00
Erik Montnemery 5f37fffcd1
Bump pychromecast to 9.3.1 (#58035) 2021-10-20 09:44:20 +02:00
Erik Montnemery fe8b9caf99
Bump pychromecast to 9.3.0 (#57991) 2021-10-18 21:48:50 +02:00
Marc Mueller f149bef9f3
Use assignment expressions 18 (#57967) 2021-10-18 18:36:35 +02:00
Paulus Schoutsen eb9b9c57a4 [ci skip] Translation update 2021-10-04 08:38:24 -07:00
GitHub Action f42c2f5170 [ci skip] Translation update 2021-10-02 12:59:05 +00:00
Erik Montnemery 15a7fe219d
Bump pychromecast to 9.2.1 (#56296) 2021-09-16 20:01:02 +03:00
GitHub Action 65d14909ee [ci skip] Translation update 2021-08-27 00:14:42 +00:00
GitHub Action ba93bda3ad [ci skip] Translation update 2021-08-05 00:34:46 +00:00
GitHub Action 8c5620e74b [ci skip] Translation update 2021-08-02 03:40:04 +00:00
Robert Hillis 13443310fe
Use entity class attributes for Cast (#53348) 2021-07-27 20:03:13 +02:00
GitHub Action ecf0d4398d [ci skip] Translation update 2021-07-22 00:10:31 +00:00
GitHub Action 531733da7b [ci skip] Translation update 2021-07-19 00:09:50 +00:00
GitHub Action b347226820 [ci skip] Translation update 2021-07-10 00:09:24 +00:00
GitHub Action 0c5ce9cac2 [ci skip] Translation update 2021-07-07 00:11:57 +00: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
GitHub Action abc9b01ede [ci skip] Translation update 2021-07-05 00:09:10 +00:00
GitHub Action d805e971b4 [ci skip] Translation update 2021-06-22 00:14:17 +00: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
GitHub Action 6ed671dfda [ci skip] Translation update 2021-06-09 00:10:10 +00:00
GitHub Action c81df50191 [ci skip] Translation update 2021-06-06 00:19:43 +00:00
tkdrob 028a07d86f
Wrap up selectors (#50794)
Co-authored-by: Franck Nijhof <git@frenck.dev>
2021-05-25 14:45:17 +02:00
Shay Levy cf228e3fe5
Add constructor return type in integrations A-D (#50903) 2021-05-20 18:51:39 +03:00
GitHub Action 0a49de75d9 [ci skip] Translation update 2021-05-19 00:11:31 +00:00
GitHub Action 1f80defe3a [ci skip] Translation update 2021-05-18 00:12:13 +00:00
GitHub Action 877cb43c06 [ci skip] Translation update 2021-05-17 05:17:18 +00:00
LJU 7224012016
Fix spelling in Cast and Growatt (#50555) 2021-05-13 11:15:02 +02:00
HomeAssistant Azure 7df47664e8 [ci skip] Translation update 2021-05-12 00:04:03 +00:00
HomeAssistant Azure 887ec2d9b5 [ci skip] Translation update 2021-05-11 00:04:41 +00:00
HomeAssistant Azure dfe8ab6666 [ci skip] Translation update 2021-05-10 00:04:47 +00:00
HomeAssistant Azure 6665a62557 [ci skip] Translation update 2021-05-09 00:04:11 +00:00
HomeAssistant Azure f32e15da36 [ci skip] Translation update 2021-05-08 00:03:19 +00:00
Erik Montnemery 934d241b70
Improve Google Cast options flow (#50028) 2021-05-07 12:59:51 -07:00
HomeAssistant Azure 04266301e9 [ci skip] Translation update 2021-05-03 00:05:16 +00:00
Franck Nijhof d4d0b93d3b
Clean up connection classes in integrations A-C (#49888) 2021-04-30 21:01:52 -10: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
tkdrob 70be0561d0
Add selectors to cast services (#49684) 2021-04-26 14:29:38 +02:00
HomeAssistant Azure 32dfaccf1f [ci skip] Translation update 2021-04-24 00:03:34 +00:00
HomeAssistant Azure 69c1721c2a [ci skip] Translation update 2021-04-22 00:02:50 +00:00
Franck Nijhof 006bcde435
Remove HomeAssistantType alias - Part 3 (#49339) 2021-04-17 12:48:03 +02:00
Franck Nijhof 055cdc64c0
Add support for IoT class in manifest (#46935) 2021-04-15 10:21:38 +02:00
HomeAssistant Azure e86aad34b9 [ci skip] Translation update 2021-04-15 00:02:56 +00: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
Erik Montnemery 1145856c45
Fix cast options flow overwriting data (#49051) 2021-04-11 13:53:44 -10:00
HomeAssistant Azure 45a92f5791 [ci skip] Translation update 2021-04-11 00:04:41 +00: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
Erik Montnemery b57d02d786
Bump pychromecast to 9.1.2 (#48714) 2021-04-06 09:55:47 +02:00
HomeAssistant Azure d3b4a30e18 [ci skip] Translation update 2021-04-04 00:04:56 +00:00
HomeAssistant Azure a1472b174c [ci skip] Translation update 2021-03-30 00:03:46 +00:00
Franck Nijhof db355f9b23
Merge of nested IF-IF cases - A-C (#48365) 2021-03-27 10:58:38 +01:00
HomeAssistant Azure 99874cd993 [ci skip] Translation update 2021-03-27 00:03:21 +00:00
HomeAssistant Azure d5afd0afb3 [ci skip] Translation update 2021-03-26 00:04:15 +00: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 4cb7718192
Update typing 16 (#48087) 2021-03-18 22:58:19 +01:00
Marc Mueller 7c0734bdd5
Update typing 05 (#48038) 2021-03-17 23:43:55 +01:00
HomeAssistant Azure 4306c8fbb4 [ci skip] Translation update 2021-03-17 00:03:55 +00:00
HomeAssistant Azure c11b85af2f [ci skip] Translation update 2021-03-16 00:04:36 +00:00
Erik Montnemery 96cc17b462
Add support for a list of known hosts to Google Cast (#47232) 2021-03-01 15:18:18 -08:00