Files
core/tests/components
Renat Sibgatulin e27d3c9523 Improve airq handling of DeviceInfo (#90232)
* Reduce data sharing between ConfigFlow and DataUpdateCoordinator

Instead of fetching device information from the device once in
`ConfigFlow` and then piping it through in `ConfigEntry.data`,
only use as much as needed in `ConfigFlow.async_step_user`, then fetch
again in `AirQCoordinator._async_update_data` if a key is missing.

Additionally, factor `AirQCoordinator` out into a sumbodule.

Add a simple test for `AirQCoordinator.device_info` update.

Positive side effect: `AirQCoordinator.device_info` is
updated explicitly, instead of dumping the entire content of (a fully
compatible) `TypedDict`, retrieved from `aioairq`.

* Remove tests ill-suited to this PR

`test_config_flow.test_duplicate_error` slipped through by mistake,
while `test_coordinator.test_fetch_device_info_on_first_update` may need
a more thoroughly suite of accompanying tests

* Ignore airq/coordinator.py

...newly separated from airq/__init__.py, that's already in this list

* Reorder files alphabetically
2023-03-28 08:18:47 +02:00
..
2023-02-02 18:35:24 +01:00
2023-02-15 14:09:50 +01:00
2023-03-22 20:00:47 -04:00
2023-02-15 14:09:50 +01:00
2023-02-15 14:09:50 +01:00
2023-02-15 14:09:50 +01:00
2023-02-15 14:09:50 +01:00
2023-02-15 14:09:50 +01:00
2023-02-05 19:10:35 +01:00
2023-02-15 14:09:50 +01:00
2023-03-01 12:29:57 -05:00
2023-02-15 14:09:50 +01:00
2023-02-15 12:39:12 +01:00
2023-02-15 14:09:50 +01:00
2023-02-15 14:09:50 +01:00
2023-02-15 14:09:50 +01:00
2023-02-15 14:09:50 +01:00
2023-02-15 14:09:50 +01:00
2023-03-25 12:31:01 -10:00
2023-02-15 14:09:50 +01:00
2023-02-15 14:09:50 +01:00
2023-03-10 12:06:50 +01:00
2023-03-01 21:19:20 +01:00
2023-02-15 14:09:50 +01:00
2023-02-15 14:09:50 +01:00
2023-03-02 12:33:04 +01:00
2023-02-03 23:08:48 +01:00
2023-02-02 18:35:24 +01:00
2023-02-15 14:09:50 +01:00
2023-02-15 14:09:50 +01:00
2023-02-15 14:09:50 +01:00
2023-02-15 14:09:50 +01:00
2023-02-15 14:09:50 +01:00
2023-02-15 14:09:50 +01:00
2023-02-15 14:09:50 +01:00
2023-02-15 16:46:03 -05:00
2023-02-15 14:09:50 +01:00
2023-02-15 14:09:50 +01:00
2023-02-15 12:39:12 +01:00
2023-03-22 20:00:47 -04:00
2023-02-15 14:09:50 +01:00
2023-02-09 13:41:50 +01:00
2023-03-07 11:35:48 +01:00
2023-02-15 14:09:50 +01:00
2023-02-15 14:09:50 +01:00
2023-02-15 14:09:50 +01:00
2023-02-15 14:09:50 +01:00
2023-02-15 14:09:50 +01:00
2023-02-15 14:09:50 +01:00
2023-02-15 14:09:50 +01:00
2023-02-15 14:09:50 +01:00
2023-02-22 10:18:58 +01:00
2023-03-22 20:00:47 -04:00
2023-02-15 12:39:12 +01:00
2023-01-27 13:57:06 +01:00
2023-02-15 14:09:50 +01:00
2023-02-15 14:09:50 +01:00
2023-03-07 11:35:48 +01:00
2023-02-15 14:09:50 +01:00
2023-02-15 14:09:50 +01:00
2023-02-02 18:35:24 +01:00
2023-03-01 16:33:32 +01:00
2023-02-15 14:09:50 +01:00
2023-01-27 09:09:46 +01:00
2023-02-15 14:09:50 +01:00
2023-03-10 12:06:50 +01:00
2023-03-08 10:53:08 -05:00
2023-02-15 14:09:50 +01:00
2023-03-10 12:06:50 +01:00
2023-02-15 14:09:50 +01:00
2023-02-22 13:55:44 +01:00
2023-02-15 14:09:50 +01:00
2023-02-15 14:09:50 +01:00
2023-03-15 18:54:28 +01:00
2023-03-22 20:00:47 -04:00
2023-02-15 14:09:50 +01:00
2023-02-02 18:35:24 +01:00
2023-03-22 20:00:47 -04:00
2023-01-27 09:09:46 +01:00
2023-01-20 13:42:47 +01:00
2023-03-04 22:26:16 +01:00
2023-03-26 07:24:43 +08:00
2023-02-17 21:08:18 -05:00
2023-03-22 20:00:47 -04:00
2023-03-15 10:07:12 +01:00
2023-03-27 20:00:54 +02:00
2023-02-23 22:15:20 -05:00
2023-02-15 14:09:50 +01:00
2023-02-28 22:12:48 -05:00
2023-02-02 18:35:24 +01:00
2023-02-19 21:14:10 -05:00
2023-01-30 14:06:52 +01:00
2023-03-26 20:03:03 +02:00
2023-03-27 23:11:49 +02:00
2023-03-22 12:01:04 +01:00
2023-02-15 14:09:50 +01:00
2023-02-15 14:09:50 +01:00