Files
core/tests/components
cbb28b6943 Migrate internal ZHA data to a dataclasses (#100127)
* Cache device triggers on startup

* reorg zha init

* don't reuse gateway

* don't nuke yaml configuration

* review comments

* Add unit tests

* Do not cache device and entity registries

* [WIP] Wrap ZHA data in a dataclass

* [WIP] Get unit tests passing

* Use a helper function for getting the gateway object to fix annotations

* Remove `bridge_id`

* Fix typing issues with entity references in group websocket info

* Use `Platform` instead of `str` for entity platform matching

* Use `get_zha_gateway` in a few more places

* Fix flaky unit test

* Use `slots` for ZHA data

Co-authored-by: J. Nick Koston <nick@koston.org>

---------

Co-authored-by: David F. Mulcahey <david.mulcahey@icloud.com>
Co-authored-by: J. Nick Koston <nick@koston.org>
2023-09-11 21:39:33 +02:00
..
2023-08-22 07:34:26 -05:00
2023-08-19 08:17:17 -04:00
2023-07-18 18:51:02 +02:00
2023-07-21 12:16:35 +02:00
2023-08-30 16:37:13 +02:00
2023-08-25 09:04:28 -05:00
2023-08-21 12:19:55 +02:00
2023-08-19 08:17:17 -04:00
2023-08-22 10:01:17 +02:00
2023-08-31 06:36:07 +02:00
2023-08-19 08:17:17 -04:00
2023-07-09 13:55:10 -04:00
2023-07-21 08:55:44 +02:00
2023-08-15 14:34:18 +02:00
2023-09-03 19:58:13 -05:00
2023-07-23 22:00:26 +02:00
2023-09-11 11:35:48 -05:00
2023-09-03 11:16:26 +02:00
2023-09-03 19:58:01 -05:00
2023-08-15 14:34:18 +02:00
2023-08-21 19:14:07 +02:00
2023-08-15 14:34:18 +02:00
2023-09-09 17:49:54 +02:00
2023-08-15 14:34:18 +02:00
2023-08-25 08:59:30 -05:00