Commit Graph
31 Commits
Author SHA1 Message Date
epenetandGitHub c7e065c413 Move enable_custom_integrations fixture to decorator (#118844) 2024-06-05 09:20:08 +02:00
epenetandGitHub 089874f818 Move mock_hass_config fixture to decorator (#118807) 2024-06-04 16:05:56 +02:00
J. Nick KostonandGitHub e12d23bd48 Speed up async_get_loaded_integrations (#117851)
* Speed up async_get_loaded_integrations

Use a setcomp and difference to find the components to split
to avoid the loop. A setcomp is inlined in python3.12 so its
much faster

* Speed up async_get_loaded_integrations

Use a setcomp and difference to find the components to split
to avoid the loop. A setcomp is inlined in python3.12 so its
much faster

* simplify

* fix compat

* bootstrap

* fix tests
2024-05-21 09:08:49 -04:00
6bb4e7d62c Bump ruff to 0.3.4 (#112690)
Co-authored-by: Sid <[email protected]>
Co-authored-by: Marc Mueller <[email protected]>
Co-authored-by: J. Nick Koston <[email protected]>
2024-03-26 00:02:16 +01:00
Marc MuellerandGitHub 38adfbf1a3 Add empty line after module docstring [tests a-e] (#112708) 2024-03-08 08:50:25 -05:00
Joakim SørensenandGitHub 23e81a45c8 Use snapshots in analytics tests (#110704) 2024-02-16 15:47:41 +01:00
Marc MuellerandGitHub c82933175d Use builtin TimeoutError [a-d] (#109678) 2024-02-05 11:31:33 +01:00
706add4a57 Switch formatting from black to ruff-format (#102893)
Co-authored-by: Franck Nijhof <[email protected]>
2023-11-27 14:38:59 +01:00
Joakim SørensenandGitHub 4d4e7522f4 Adjust the analytics collector to only report configured integrations (#95246) 2023-06-27 12:08:51 +02:00
epenetandGitHub 1e352b60df Add type hints to integration tests (part 11) (#87996) 2023-02-13 14:22:49 +01:00
Joakim SørensenandGitHub e842f90767 Add recorder engine name and version to analytics (#87784)
* Add recorder to analytics

* Add test

* Add recorder to after_dependencies

* Add version

* dialect can not be None
2023-02-13 09:18:12 +01:00
epenetandGitHub 0cf5e9fb4a Add type hints to integration tests (part 2) (#87789)
* Add type hints to integration tests (part 2)

* typo

* Improve analytics

* Improve automation

* Imrpove bluetooth
2023-02-10 16:05:26 +01:00
epenetandGitHub 07a1a0efa9 Add type hints to integration tests (part 1) (#87777) 2023-02-09 16:09:13 +01:00
epenetandGitHub 2545694d41 Add type hints to integration tests (a) (#87684)
* Add type hints to accuweather tests

* Adjust a** components

* Adjust aiohttp_client

* ClientSessionGenerator/WebSocketGenerator
2023-02-08 12:16:23 +01:00
Franck NijhofandGitHub 5e81d28116 Update black to 23.1.0 (#87188) 2023-02-02 18:35:24 +01:00
Franck NijhofandGitHub 24fdd588fd Code styling tweaks to the tests - Part 1 (#86192) 2023-01-20 13:52:46 +01:00
Erik MontnemeryandGitHub 46500beefc Enable strict typing of analytics (#83119) 2022-12-02 14:05:08 +01:00
Erik MontnemeryandGitHub 31a787558f Ensure recorder test fixture is setup before hass fixture (#80528)
* Ensure recorder test fixture is setup before hass fixture

* Adjust more tests
2022-10-19 07:58:47 +02:00
J. Nick KostonandGitHub 61cc9f5288 Consolidate executor jobs when loading integration manifests (#75176) 2022-07-14 13:06:08 -07:00
Erik MontnemeryandGitHub 949b0e1b65 Don't allow in-memory SQLite database (#69616) 2022-04-08 00:43:09 +02:00
Joakim SørensenandGitHub 0802b64d95 Add boolean for certificate usage to analytics (#68254)
* Add boolean for certificate usage to analytics

* Mock hass.http
2022-03-22 14:49:43 +01:00
efddace53a spelling: components/analytics (#64268)
Co-authored-by: Franck Nijhof <[email protected]>
Co-authored-by: Josh Soref <[email protected]>
2022-01-17 17:36:59 +01:00
Joakim SørensenandGitHub 1c38e9168c Add base energy analytics (#53855) 2021-08-02 09:46:07 -07:00
Joakim SørensenandGitHub fb281c6bde Add arch to payload (#51330) 2021-06-01 15:09:23 +02:00
Joakim SørensenandGitHub 2f10f59717 Block custom integrations with missing or invalid version (#49916) 2021-05-17 15:48:41 +02:00
Joakim SørensenandGitHub 296dc9303f Add OS version and board type to analytics (#49725) 2021-04-28 19:13:09 +02:00
Joakim SørensenandGitHub 019484f148 Use dev endpoint for dev installations (#49597) 2021-04-23 20:57:10 +02:00
Joakim SørensenandGitHub 191c01a611 Add custom integrations to analytics (#48753) 2021-04-06 19:33:08 -07:00
Joakim SørensenandGitHub 89f2f458d2 Generate a seperate UUID for the analytics integration (#48742) 2021-04-07 02:34:49 +02:00
J. Nick KostonandGitHub f8265f44be Include platform only integrations in analytics (#48493) 2021-03-30 10:46:02 +02:00
09c51da3a2 Add analytics integration (#48256)
Co-authored-by: Martin Hjelmare <[email protected]>
2021-03-29 17:20:11 -07:00