Erik Montnemery
ff43003ce3
Add device_tracker conditions ( #161381 )
2026-01-22 21:38:10 +00:00
Erik Montnemery
deefcbcbe4
Remove stub_blueprint_populate test fixture ( #161288 )
2026-01-20 15:46:06 +01:00
Erik Montnemery
f01653633d
Add shared enable_experimental_triggers_conditions test fixture ( #160937 )
2026-01-14 16:01:06 +00:00
Erik Montnemery
a902f3bb00
Improve comments in trigger and condition test helpers ( #160830 )
2026-01-14 11:42:32 +00:00
Erik Montnemery
1e6b0ba9ec
Allow passing trigger options to parametrize_trigger_states ( #160119 )
2026-01-05 10:44:31 +01:00
Abílio Costa
8375acf315
Add device_tracker home enter/leave triggers ( #158083 )
2025-12-16 14:50:56 +00:00
Magnus
f257e89b2a
Adjust import of ATTR_GPS_ACCURACY in device_tracker tests ( #154531 )
2025-10-15 13:55:10 +02:00
Erik Montnemery
dc8e1773f1
Remove unused defaults from entity_registry.RegistryEntry ( #143655 )
2025-04-25 12:41:58 +02:00
Jan Bouwhuis
e389ff2537
Allow float for device_tracker location accuracy ( #143604 )
2025-04-24 23:09:18 +02:00
Erik Montnemery
dfd86d56ec
Convert test fixtures to async ( #142052 )
2025-04-02 14:05:07 +02:00
Erik Montnemery
428cc1a951
Update signature of platforms' async_setup_entry in tests ( #138271 )
2025-02-11 13:17:39 +01: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
epenet
3995d001ec
Set default source_type on TrackerEntity and ScannerEntity ( #126648 )
...
* Set default source_type on TrackerEntity and ScannerEntity
* Add samples
* Two more
* Adjust tests
2024-09-24 20:56:01 +02:00
epenet
2df6824856
Cleanup source_type type hints in device tracker components ( #126592 )
2024-09-24 08:54:55 +02:00
epenet
5608301178
Add missing return type in test __init__ methods ( #123932 )
...
* Add missing return type in test __init__ methods
* Adjust
2024-08-14 16:48:52 +02:00
epenet
07f095aa42
Use service_calls fixture in core platform tests [a-l] ( #120904 )
2024-07-01 19:27:50 +02: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
epenet
3e9d25f81d
Add missing argument type hints to component tests ( #119671 )
2024-06-14 09:26:46 +02:00
epenet
abb8c58b87
Fix consider-using-tuple pylint warnings in core tests ( #119463 )
2024-06-12 12:35:01 +02:00
Marc Mueller
279483ddb0
Import Generator from typing_extensions (2) ( #118989 )
2024-06-06 17:24:22 +02:00
epenet
492b158818
Add return type hints in tests (a-i) ( #118939 )
2024-06-06 12:17:08 +02:00
epenet
7e62061b9a
Improve typing for calls fixture in tests (a-l) ( #118349 )
...
* Improve typing for `calls` fixture in tests (a-l)
* More
* More
2024-05-29 09:06:48 +02:00
Sid
3efee10b95
Enable Ruff RUF013 ( #115333 )
2024-04-10 08:55:59 +02:00
epenet
0b01326f9f
Use is in ConfigEntryState enum comparison in tests (A-M) ( #114925 )
2024-04-05 17:16:55 +02:00
J. Nick Koston
e86fec310b
Improve performance of extracting entities by label ( #114720 )
2024-04-03 10:24:44 -10:00
Phil Bruckner
ea2bb24484
Remove old device tracker device cleanup code & test ( #114668 )
2024-04-02 15:23:59 -05: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
Sid
00ec7f11f0
Enable Ruff rule PT007 ( #113764 )
...
Co-authored-by: Franck Nijhof <frenck@frenck.nl >
2024-03-19 09:01:07 +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
J. Nick Koston
aaac879c83
Fix calling sync api in counter/ffmpeg/device_tracker tests ( #113441 )
2024-03-14 19:34:44 +01:00
J. Nick Koston
c1f5c7c4b7
Remove usage of async_add_job in tests ( #113259 )
2024-03-13 19:33:33 -10:00
Marc Mueller
32f3f46542
Add empty line after module docstring (2) [tests.components] ( #112737 )
2024-03-08 19:16:21 +01:00
Marc Mueller
38adfbf1a3
Add empty line after module docstring [tests a-e] ( #112708 )
2024-03-08 08:50:25 -05:00
Martin Hjelmare
53b73bd0bd
Make device tracker latitude and longitude optional ( #108838 )
...
* Make device tracker latitude and longitude optional
* Update test
2024-01-25 13:25:17 +01:00
Martin Hjelmare
852e4c21c6
Complete device tracker entity tests ( #108768 )
2024-01-24 19:50:55 +01: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
Jan-Philipp Benecke
dc17780e5b
Remove device from known_devices upon import in ping device tracker ( #105009 )
...
Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com >
2023-12-05 18:52:22 +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
Jan-Philipp Benecke
81450f0117
Update d-e* tests to use entity & device registry fixtures ( #103804 )
2023-11-12 10:38:32 +01:00