epenet
d4accebb3b
Use DOMAIN constant in test (async_setup_component a-g) ( #173013 )
2026-06-08 15:58:54 +02:00
Erik Montnemery
711830b01f
Add tracking_type capability attribute to device tracker ( #173027 )
2026-06-04 21:19:19 +02:00
Petro31
7912afb765
Create issue when legacy platform setup is not supported for device_trackers ( #172281 )
2026-05-27 09:08:20 +02:00
Petro31
d294b04b79
Add EntityComponent to device_tracker ( #171507 )
2026-05-21 16:10:20 +02:00
Erik Montnemery
2fb22e5654
Use hass_tmp_config_dir fixture in device_tracker tests ( #168582 )
2026-04-20 10:58:23 +02:00
Erik Montnemery
dc8e1773f1
Remove unused defaults from entity_registry.RegistryEntry ( #143655 )
2025-04-25 12:41:58 +02:00
epenet
7b1b229718
Standardize homeassistant imports in component tests (a-l) ( #136806 )
2025-01-29 10:00:45 +01:00
Joost Lekkerkerker
8db63adc11
Bump ruff to 0.9.1 ( #135197 )
2025-01-14 11:46:12 +01:00
Robert Resch
ed408eb1a1
Remove deprecated device tracker constants ( #131846 )
2024-11-28 16:54:23 +01:00
Marc Mueller
2f0dd6f704
Import Generator from collections.abc (2) ( #120915 )
2024-07-01 11:58:49 +02:00
epenet
f8d5c9144a
Improve type hints in device_tracker tests ( #120390 )
2024-06-25 10:06:38 +02:00
J. Nick Koston
e86fec310b
Improve performance of extracting entities by label ( #114720 )
2024-04-03 10:24:44 -10:00
Sid
d5f883fbf0
Unignore Ruff PLR in tests ( #114470 )
...
* Unignore Ruff PLR in tests
* Address review comments
* review comments
* fix import
* Update test_api.py
* Update test_api.py
* Update test_api.py
2024-04-01 11:11:59 +02:00
Jan-Philipp Benecke
530552b4f5
Use mock_platform for device_tracker entity component tests instead of hass.components ( #114398 )
...
Co-authored-by: Martin Hjelmare <marhje52@gmail.com >
2024-03-28 15:23:21 -10:00
Joost Lekkerkerker
6bb4e7d62c
Bump ruff to 0.3.4 ( #112690 )
...
Co-authored-by: Sid <27780930+autinerd@users.noreply.github.com >
Co-authored-by: Marc Mueller <30130371+cdce8p@users.noreply.github.com >
Co-authored-by: J. Nick Koston <nick@koston.org >
2024-03-26 00:02:16 +01:00
J. Nick Koston
6371b344b9
Ensure discovery can setup legacy device tracker platforms ( #114101 )
2024-03-24 07:38:05 -10:00
J. Nick Koston
d4b180cf75
Fix flapping device_tracker test_bad_platform test ( #114102 )
...
https://github.com/home-assistant/core/actions/runs/8408079861/job/23023835074
2024-03-24 13:23:12 +01:00
J. Nick Koston
e8cb6a8e29
Optimize loading of translations ( #114089 )
2024-03-23 22:22:09 -10:00
J. Nick Koston
ac175a4240
Fix flakey test_reading_yaml_config test ( #113902 )
2024-03-20 10:39:31 -10:00
J. Nick Koston
fff590d738
Fix flapping device tracker test ( #113859 )
...
seen in https://github.com/home-assistant/core/actions/runs/8353028595/job/22864148890?pr=113854
2024-03-20 07:21:26 +01:00
J. Nick Koston
8a144d16f5
Move legacy device_tracker setup to a tracked task ( #113715 )
...
* Move legacy device_tracker setup to a tracked task
Legacy platforms are now loaded in a tracked task which
allows anything waiting on device_tracker (such as
a config entry that uses the device_tracker
platform) to proceed.
This also allows us to remove the workaround
of adding device_tracker to
hass.config.components in its setup
* tweak
* tweak
* fix tests
2024-03-18 10:39:59 +01:00
Marc Mueller
38adfbf1a3
Add empty line after module docstring [tests a-e] ( #112708 )
2024-03-08 08:50:25 -05:00
Erik Montnemery
c805ea7b4f
Include deprecated constants in wildcard imports ( #107114 )
2024-01-05 11:46:45 +01:00
Robert Resch
9dd1b9e268
Deprecate deprecated device tracker constants ( #106099 )
2023-12-20 18:06:38 +01:00
Erik Montnemery
84e74e4c74
Reverse component path ( #104087 )
...
* Reverse component path
* Update translations helper
* Fix
* Revert incorrect change of PLATFORM_FORMAT
* Fix use of PLATFORM_FORMAT in tts
* Fix ios
2023-12-05 08:43:58 +01:00
Erik Montnemery
0126cfa9d9
Allow exposing any entity to the default conversation agent ( #92398 )
...
* Allow exposing any entity to the default conversation agent
* Tweak
* Fix race, update tests
* Update tests
2023-05-03 09:45:54 -04:00
epenet
728f62b1ec
Add type hints to integration tests (part 5) ( #87850 )
2023-02-12 19:39:48 +01:00
epenet
3052de3e8e
Add type hints to integration tests (d-e) ( #87699 )
2023-02-08 13:01:44 +01:00
epenet
4142f0d15d
Add return type to tests without arguments ( #87613 )
...
* Add return type to tests without arguments
* Black
* Cancel fixture amends
2023-02-07 14:20:06 +01:00
Franck Nijhof
24fdd588fd
Code styling tweaks to the tests - Part 1 ( #86192 )
2023-01-20 13:52:46 +01:00
epenet
4f31f28e67
Cleanup SourceType in tests ( #78809 )
2022-09-20 10:50:07 -04:00
epenet
14e5001d0c
Cleanup known_devices.yaml in device_tracker tests ( #74404 )
2022-07-04 14:10:25 +02:00
Shay Levy
d56a487169
Fix CI failure due to integrations leaving dirty known_devices.yaml ( #74329 )
2022-07-02 11:20:40 -07:00
Erik Montnemery
dccc4eba76
Remove artifacts from black formatting ( #65113 )
...
* Remove artifacts from black formatting
* Tweak
2022-01-28 17:00:01 +02:00
Joakim Sørensen
2f10f59717
Block custom integrations with missing or invalid version ( #49916 )
2021-05-17 15:48:41 +02:00
Joakim Sørensen
9585defca0
Add device_tracker scanners to hass.config.components ( #49063 )
2021-04-11 13:54:43 -10:00
Franck Nijhof
ad13a9295e
Merge multiple context managers in tests ( #48146 )
2021-03-27 09:17:15 +01:00
Franck Nijhof
5a2b5fe7c5
Yoda assertion style removed is ( #48142 )
2021-03-20 13:55:10 +01:00
Franck Nijhof
65cf2fcb6f
Drop asynctest ( #44746 )
2021-01-01 22:31:56 +01:00
J. Nick Koston
89a9634d35
Use eventloop for scheduling ( #37184 )
...
Co-authored-by: Paulus Schoutsen <balloob@gmail.com >
2020-06-29 09:39:24 -07:00
Paulus Schoutsen
ec47216388
Use built-in test helpers on 3.8 ( #34901 )
2020-04-30 13:29:50 -07:00
Paulus Schoutsen
0d700f6a63
Fix tests for Python 3.8 ( #34672 )
2020-04-25 14:32:55 -07:00
Franck Nijhof
906385172a
String formatting improvements for tests ( #33663 )
2020-04-05 00:26:08 +02:00
Franck Nijhof
b8fab33e69
Remove deprecated hide_if_away from device trackers ( #32705 )
2020-03-12 11:55:18 +01:00
springstan
9801810552
Use f-strings in integrations starting with "B"-"E" ( #32121 )
...
* Use f-strings in integrations starting with B
* Use f-strings in integrations starting with C
* Use f-strings in integrations starting with D
* Use f-strings in integrations starting with E
* Fix pylint errors
* Fix pylint errors v2
* Fix tests
* Fix tests v2
2020-02-24 08:47:52 -08:00
Paulus Schoutsen
9aa02e35a7
Entity Component to no longer generate automatic groups ( #23789 )
2020-01-07 17:30:53 +01:00
Ville Skyttä
e6388e186c
Remove unnecessary string literal concatenations ( #30360 )
2020-01-02 21:17:10 +02:00
Paulus Schoutsen
4de97abc3a
Black
2019-07-31 12:25:30 -07:00
Martin Hjelmare
7881081207
Fix device tracker see for entity registry entities ( #24633 )
...
* Add a test for see service gaurd
* Guard from seeing devices part of entity registry
* Await registry task early
* Lint
* Correct comment
* Clean up wait for registry
* Fix spelling
Co-Authored-By: Paulus Schoutsen <paulus@home-assistant.io >
* Fix spelling
Co-Authored-By: Paulus Schoutsen <paulus@home-assistant.io >
2019-06-20 03:22:33 +02:00
Paulus Schoutsen
70ed58a78d
Restructure device tracker ( #23862 )
...
* Restructure device tracker
* Docstyle
* Fix typing
* Lint
* Lint
* Fix tests
2019-05-15 23:43:45 +02:00