home-assistant-core/tests
Joost Lekkerkerker d9f1450ee6
Add Homeassistant Analytics Insights integration (#107634)
* Add Homeassistant Analytics integration

* Add Homeassistant Analytics integration

* Add Homeassistant Analytics integration

* Fix feedback

* Fix test

* Update conftest.py

* Add some testcases

* Make code clear

* log exception

* Bump python-homeassistant-analytics to 0.2.1

* Bump python-homeassistant-analytics to 0.3.0

* Change domain to homeassistant_analytics_consumer

* Add integration name to config flow selector

* Update homeassistant/components/homeassistant_analytics_consumer/manifest.json

Co-authored-by: Sid <27780930+autinerd@users.noreply.github.com>

* Fix hassfest

* Apply suggestions from code review

Co-authored-by: Robert Resch <robert@resch.dev>

* Bump python-homeassistant-analytics to 0.4.0

* Rename to Home Assistant Analytics Insights

* Update homeassistant/components/analytics_insights/config_flow.py

Co-authored-by: Robert Resch <robert@resch.dev>

* Update homeassistant/components/analytics_insights/manifest.json

Co-authored-by: Robert Resch <robert@resch.dev>

* Rename to Home Assistant Analytics Insights

* add test

* Fallback to 0 when there is no data found

* Allow to select any integration

* Fix tests

* Fix tests

* Update tests/components/analytics_insights/conftest.py

Co-authored-by: Robert Resch <robert@resch.dev>

* Update tests/components/analytics_insights/test_sensor.py

Co-authored-by: Robert Resch <robert@resch.dev>

* Fix format

* Fix tests

---------

Co-authored-by: Sid <27780930+autinerd@users.noreply.github.com>
Co-authored-by: Robert Resch <robert@resch.dev>
2024-01-23 10:32:31 +01:00
..
auth Convert getting and removing access tokens to normal functions (#108670) 2024-01-22 20:51:33 -10:00
components Add Homeassistant Analytics Insights integration (#107634) 2024-01-23 10:32:31 +01:00
fixtures Fix feedreader date comparison to allow RSS entries with identical timestamps (#104925) 2023-12-23 16:48:36 +01:00
hassfest
helpers Add icon translations support (#103294) 2024-01-19 16:56:56 +01:00
pylint Add pylint plugin to check for sorted platforms list (#108115) 2024-01-16 09:47:53 +01:00
resources
scripts Use modern platform path when reporting platform config errors (#104238) 2023-12-05 15:06:13 +01:00
snapshots Add minor version to config entries (#105479) 2023-12-12 08:44:35 +01:00
test_util Extend auth/providers endpoint and add /api/person/list endpoint for local ip requests (#103906) 2023-11-24 17:11:54 +01:00
testing_config Add icon translations support (#103294) 2024-01-19 16:56:56 +01:00
util Fix empty files included by !include_dir_named (#108489) 2024-01-20 15:12:32 +01:00
__init__.py
common.py Small speed up to checking core state (#107845) 2024-01-18 08:41:32 -10:00
conftest.py Use identity checks for CoreState (#107846) 2024-01-12 10:21:26 +01:00
ignore_uncaught_exceptions.py
patch_time.py
ruff.toml
syrupy.py
test_bootstrap.py Move core fundamental components into bootstrap (#105560) 2024-01-22 20:09:48 +01:00
test_config.py Deprecate legacy_templates (#105556) 2023-12-22 00:42:16 +01:00
test_config_entries.py Extend config entry update/abort helper to also update unique id (#108681) 2024-01-22 23:01:55 +01:00
test_const.py Include deprecated constants in wildcard imports (#107114) 2024-01-05 11:46:45 +01:00
test_core.py Refactor service enumeration methods to better match existing use cases (#108671) 2024-01-22 14:21:17 -10:00
test_data_entry_flow.py Fix FlowHandler show progress (#108586) 2024-01-21 22:40:48 +01:00
test_exceptions.py
test_loader.py Avoid keeping config dir in path (#107760) 2024-01-16 13:38:47 +01:00
test_main.py
test_requirements.py Switch formatting from black to ruff-format (#102893) 2023-11-27 14:38:59 +01:00
test_runner.py Trigger Home Assistant shutdown automations right before the stop event instead of during it (#91165) 2023-12-05 11:24:41 -10:00
test_setup.py Reverse component path (#104087) 2023-12-05 08:43:58 +01:00
test_test_fixtures.py Patch aiohttp server app router freeze in tests (#105555) 2023-12-12 14:40:38 +01:00
typing.py