Commit Graph
375 Commits
Author SHA1 Message Date
Marc MuellerandGitHub 34ea781031 Use PEP 695 for decorator typing with type aliases (1) (#117662) 2024-05-18 11:42:39 +02:00
SidandGitHub b456d97e65 Replace pylint protected-access with Ruff SLF001 (#115735) 2024-05-06 20:33:26 +02:00
Marc MuellerandGitHub 1120745d4e Update SignalType imports (#114287) 2024-03-27 19:41:11 +01:00
Erik MontnemeryandGitHub afa9517716 Catch API errors in cast media_player service handlers (#113839)
* Catch API errors in cast media_player service handlers

* Remove left over debug code

* Fix wrapping of coroutine function with api_error
2024-03-20 13:10:35 +01:00
Erik MontnemeryandGitHub 8a9f69b22a Bump pychromecast to 14.0.1 (#113841) 2024-03-19 11:41:10 -10:00
Erik MontnemeryandGitHub bf21553008 Fix startup race in cast (#113843) 2024-03-19 11:37:29 -10:00
SidandGitHub 0b9c9aff62 Add ruff rules PIE790, PIE794, PIE807, PIE810 (#113617) 2024-03-16 11:04:58 -10:00
J. Nick KostonandGitHub 5dc44500c3 Make cast async_cast_discovered a callback function (#113111)
Nothing was being awaited here and this function
is never subclassed
2024-03-11 20:07:15 -04:00
Marc MuellerandGitHub 2c06d4fcb9 Add empty line after module docstring (2) [components] (#112736) 2024-03-08 19:15:59 +01:00
Marc MuellerandGitHub ff3a801936 Add empty line after module docstring [a-d] (#112697) 2024-03-08 14:51:32 +01:00
Erik MontnemeryandGitHub 6fe28d3764 Migrate integrations a-d to generic flowhandler (#111861) 2024-02-29 20:07:14 +01:00
Joost LekkerkerkerandGitHub 33a4040f8e Add icon translations to Cast (#111352) 2024-02-25 13:58:50 +01:00
Joost LekkerkerkerandGitHub 730d805876 Enable SIM114 ruff rule (#111125) 2024-02-23 13:21:59 +01:00
J. Nick KostonandGitHub 0d4c82b54d Convert Integration platforms processors where nothing is awaited to callbacks (#110825)
Convert Integration platforms processors where nothing is awaited callbacks
2024-02-17 20:49:47 -05:00
Erik MontnemeryandGitHub 06a21d4ed9 Bump pychromecast to 14.0.0 (#108374)
* Pass unregister callback to cast HomeAssisstantController

* Update tests

* Bump pychromecast to 14.0.0

* Fix lint warning, adjust tests

* Improve test coverage
2024-02-15 20:14:01 +01:00
Marc MuellerandGitHub c82933175d Use builtin TimeoutError [a-d] (#109678) 2024-02-05 11:31:33 +01:00
Erik MontnemeryandGitHub aa3e172a65 Bump pychromecast to 13.1.0 (#108073) 2024-01-15 09:10:09 +01:00
Marc MuellerandGitHub fde7a6e9ef Improve dispatcher typing (#106872) 2024-01-08 09:45:37 +01:00
Erik MontnemeryandGitHub c929b70fba Bump pychromecast to 13.0.8 (#104320) 2023-11-21 17:41:04 +01:00
Erik MontnemeryandGitHub 6b628f2d29 Remove unnecessary block use of pylint disable in components a-o (#100190) 2023-09-12 14:02:50 +02:00
Erik MontnemeryandGitHub 045c327928 Move DeviceInfo from entity to device registry (#98149)
* Move DeviceInfo from entity to device registry

* Update integrations
2023-08-10 22:04:26 -04:00
7859be6481 Add deduplicate translations script (#96384)
* Add deduplicate script

* Fix forecast_solar incorrect key with space

* Fix utf-8

* Do not create references to other arbitrary other integrations

* Add commented code to only allow applying to referencing integrations

* Tweak

* Bug fix

* Add command line arg for limit reference

* never suggest to update common keys

* Output of script

* Apply suggestions from code review

Co-authored-by: Michael <35783820+mib1185@users.noreply.github.com>

---------

Co-authored-by: Michael <35783820+mib1185@users.noreply.github.com>
2023-07-13 11:52:50 -04:00
Franck NijhofandGitHub c252758ac2 Migrate integration services (B-D) to support translations (#96363) 2023-07-11 23:06:32 +02:00
Erik MontnemeryandGitHub b254218dd6 Remove base_url configuration option from tts (#94905) 2023-06-21 11:20:33 +02:00
Erik MontnemeryandGitHub e6a7ff97c8 Explicitly opt-in to device name in the cast integration (#94847) 2023-06-19 11:04:59 +02:00
J. Nick KostonandGitHub 7995d3777a Fix package names to match pypi index metadata (#93883)
* Fix package names to match pypi index metadata

* Fix package names to match pypi index metadata

* Fix package names to match pypi index metadata

* Fix package names to match pypi index metadata

* Fix package names to match pypi index metadata

* Fix package names to match pypi index metadata

* Fix package names to match pypi index metadata

* Fix package names to match pypi index metadata

* Fix package names to match pypi index metadata

* Fix package names to match pypi index metadata

* Fix package names to match pypi index metadata

* Fix package names to match pypi index metadata

* Fix package names to match pypi index metadata

* Fix package names to match pypi index metadata

* Fix package names to match pypi index metadata

* Fix package names to match pypi index metadata

* Fix package names to match pypi index metadata

* Fix package names to match pypi index metadata

* Fix package names to match pypi index metadata

* Fix package names to match pypi index metadata

* Fix package names to match pypi index metadata

* Fix package names to match pypi index metadata

* Fix package names to match pypi index metadata

* Fix package names to match pypi index metadata

* Fix package names to match pypi index metadata

* Fix package names to match pypi index metadata

* Fix package names to match pypi index metadata

* Fix package names to match pypi index metadata

* Fix package names to match pypi index metadata

* Fix package names to match pypi index metadata

* Fix package names to match pypi index metadata

* Fix package names to match pypi index metadata

* Fix package names to match pypi index metadata

* Fix package names to match pypi index metadata

* Fix package names to match pypi index metadata

* uses _

* uses -

* fix metadata
2023-05-31 21:12:53 -04:00
Erik MontnemeryandGitHub 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 MontnemeryandGitHub d52ef83899 Bump pychromecast to 13.0.7 (#90724) 2023-04-03 13:02:36 -04:00
Erik MontnemeryandGitHub 5e03272821 Bump pychromecast to 13.0.6 (#90390) 2023-03-28 09:36:34 +02:00
Erik MontnemeryandGitHub 41ea8fa9b4 Guess media type when cast is playing media without media type (#90048) 2023-03-21 10:01:35 -04:00
Paulus SchoutsenandGitHub f465561536 Fix dangling task for cast (#88285) 2023-02-17 18:43:40 +01:00
Erik MontnemeryandGitHub 87420e949d Sort manifests 2 (#87023) 2023-02-08 20:16:39 +01:00
939eef3b28 Remove translations from Core (#87543)
Co-authored-by: Erik Montnemery <erik@montnemery.com>
2023-02-06 15:06:43 +01:00
Franck NijhofandGitHub ca1a12898c Enable Ruff D212 (#87347) 2023-02-03 23:08:48 +01:00
J. Nick KostonandGitHub 5285d057d2 Migrate cast to use async_forward_entry_setups (#86558)
Replaces deprecated async_setup_platforms with async_forward_entry_setups
2023-01-25 10:12:58 +01:00
Marc MuellerandGitHub b4ddff751a Improve cast typing (#86536) 2023-01-24 16:48:01 +01:00
6397138589 Update Optional typing (1) [Py310] (#86417)
Co-authored-by: Franck Nijhof <git@frenck.dev>
2023-01-23 09:56:10 +01:00
Franck NijhofandGitHub 79b52a2b41 Stricter pylint message control (#86154) 2023-01-20 13:47:55 +01:00
GitHub Action 77f9548e51 [ci skip] Translation update 2023-01-15 00:25:52 +00:00
Franck NijhofandGitHub 05c32c51fd Code styling tweaks to the Cast integration (#85560) 2023-01-10 09:57:13 +01:00
b0cee0bc46 String formatting and max line length - Part 1 (#84390)
Co-authored-by: Erik Montnemery <erik@montnemery.com>
2022-12-22 10:12:50 +01:00
Michaël ArnautsandGitHub 627a208d9f Use a global const for CONF_UUID (#84093) 2022-12-19 12:16:30 +01:00
GitHub Action cfa08c5229 [ci skip] Translation update 2022-12-15 00:24:38 +00:00
Erik MontnemeryandGitHub 534d343f67 Bump pychromecast to 13.0.4 (#83896) 2022-12-13 11:55:23 +01:00
GitHub Action b9753a9f92 [ci skip] Translation update 2022-12-13 00:27:47 +00:00
Erik MontnemeryandGitHub 22e5d86324 Bump pychromecast to 13.0.3 (#83861) 2022-12-12 15:57:12 -05:00
Erik MontnemeryandGitHub cd487ccaed Bump pychromecast to 13.0.2 (#83625)
* Bump pychromecast to 13.0.2

* Pass hass UUID to HomeAssistantController
2022-12-09 14:33:00 -05:00
GitHub Action f25017313a [ci skip] Translation update 2022-12-09 00:24:29 +00:00
GitHub Action 1f3e5fb4fc [ci skip] Translation update 2022-12-07 00:24:08 +00:00
GitHub Action 0d1f476bee [ci skip] Translation update 2022-12-01 00:33:36 +00:00