1
0
mirror of https://github.com/home-assistant/core.git synced 2025-12-27 06:28:31 +00:00
Files
core/tests/components
Stephen Alderman f62fb76765 Add Config Flow to LG Netcast (#104913)
* Add Config Flow to lg_netcast

* Add YAML import to Lg Netcast ConfigFlow

Deprecates YAML config support

* Add LG Netcast Device triggers for turn_on action

* Add myself to LG Netcast codeowners

* Remove unnecessary user_input validation check.

* Move netcast discovery logic to the backend

* Use FlowResultType Enum for tests

* Mock pylgnetcast.query_device_info instead of _send_to_tv

* Refactor lg_netcast client discovery, simplify YAML import

* Simplify CONF_NAME to use friendly name

Fix: Use Friendly name for Name

* Expose model to DeviceInfo

* Add test for testing YAML import when not TV not online

* Switch to entity_name for LGTVDevice

* Add data_description to host field in user step

* Wrap try only around _get_session_id

* Send regular request for access_token to ensure it display on the TV

* Stop displaying access token when flow is aborted

* Remove config_flow only consts and minor fixups

* Simplify media_player logic & raise new migration issue

* Add async_unload_entry

* Create issues when import config flow fails, and raise only a single yaml deprecation issue type

* Remove single use trigger helpers

* Bump issue deprecation breakage version

* Lint

---------

Co-authored-by: Erik Montnemery <erik@montnemery.com>
2024-04-16 09:29:02 +02:00
..
2024-03-26 00:02:16 +01:00
2024-04-12 14:47:46 +02:00
2024-03-26 00:02:16 +01:00
2024-04-01 11:11:59 +02:00
2024-04-08 17:24:32 +02:00
2024-03-26 00:02:16 +01:00
2024-03-26 00:02:16 +01:00
2024-04-14 00:14:26 -05:00
2024-04-06 11:07:37 +02:00
2024-03-26 00:02:16 +01:00
2024-04-15 22:25:09 +02:00
2024-04-10 08:55:59 +02:00
2024-04-10 08:55:59 +02:00
2024-04-08 09:29:05 -10:00
2024-04-12 09:04:16 +02:00
2024-04-14 00:14:26 -05:00
2024-03-26 00:02:16 +01:00
2024-04-10 08:55:59 +02:00
2024-04-06 11:07:37 +02:00
2024-03-26 00:02:16 +01:00
2024-03-19 09:01:07 +01:00
2024-04-06 11:07:37 +02:00
2024-04-12 09:04:16 +02:00
2024-04-06 11:07:37 +02:00
2024-03-26 00:02:16 +01:00
2024-03-26 00:02:16 +01:00
2024-03-26 00:02:16 +01:00
2024-04-10 08:55:59 +02:00
2024-04-06 11:07:37 +02:00
2024-04-10 08:55:59 +02:00
2024-04-06 11:07:37 +02:00
2024-04-14 00:14:26 -05:00
2024-03-26 00:02:16 +01:00
2024-03-14 10:43:03 +01:00
2024-04-14 00:14:26 -05:00
2024-03-14 10:43:03 +01:00
2024-04-14 00:14:26 -05:00
2024-04-15 22:25:09 +02:00
2024-03-26 00:02:16 +01:00
2024-04-01 11:11:59 +02:00
2024-04-08 15:42:22 +02:00
2024-04-06 11:07:37 +02:00
2024-04-12 09:04:16 +02:00
2024-03-26 00:02:16 +01:00
2024-04-12 09:04:16 +02:00
2024-03-26 00:02:16 +01:00
2024-04-04 08:35:44 +02:00
2024-04-06 11:07:37 +02:00
2024-03-26 00:02:16 +01:00
2024-04-01 11:11:59 +02:00
2024-04-14 00:14:26 -05:00
2024-04-06 11:07:37 +02:00
2024-04-10 08:55:59 +02:00
2024-04-06 11:07:37 +02:00
2024-04-10 08:55:59 +02:00
2024-04-12 09:04:16 +02:00
2024-03-26 00:02:16 +01:00
2024-04-06 11:07:37 +02:00
2024-04-10 08:55:59 +02:00
2024-03-18 00:40:38 +01:00
2024-03-26 00:02:16 +01:00
2024-04-06 11:07:37 +02:00
2024-04-06 11:07:37 +02:00
2024-03-26 00:02:16 +01:00
2024-04-10 08:55:59 +02:00
2024-04-10 08:55:59 +02:00
2024-04-06 11:07:37 +02:00
2024-04-12 09:04:16 +02:00
2024-04-15 22:25:09 +02:00
2024-04-01 11:11:59 +02:00
2024-03-19 09:01:07 +01:00
2024-04-14 00:15:10 -05:00
2024-04-12 09:04:16 +02:00
2024-04-14 18:07:26 +03:00
2024-04-15 22:25:09 +02:00
2024-04-06 11:07:37 +02:00
2024-04-05 08:41:15 +02:00
2024-04-10 08:55:59 +02:00
2024-04-06 11:07:37 +02:00
2024-03-26 00:02:16 +01:00
2024-03-26 00:02:16 +01:00
2024-04-12 14:47:46 +02:00
2024-04-12 09:04:16 +02:00
2024-04-12 09:04:16 +02:00
2024-04-01 11:11:59 +02:00
2024-04-10 08:55:59 +02:00
2024-03-26 00:02:16 +01:00
2024-04-01 11:11:59 +02:00
2024-03-26 00:02:16 +01:00
2024-04-06 11:07:37 +02:00
2024-04-12 09:04:16 +02:00
2024-03-26 00:02:16 +01:00
2024-04-12 09:04:16 +02:00
2024-04-10 08:55:59 +02:00
2024-04-10 08:55:59 +02:00
2024-04-10 08:55:59 +02:00
2024-04-06 11:07:37 +02:00
2024-04-06 15:48:52 +02:00
2024-03-26 00:02:16 +01:00
2024-04-12 09:04:16 +02:00
2024-03-26 00:02:16 +01:00
2024-04-14 00:14:26 -05:00
2024-04-12 09:04:16 +02:00