Erik Montnemery
16ec9b1e9f
Use entity registry id in device_tracker device conditions ( #95254 )
2023-06-26 20:29:39 +02:00
Erik Montnemery
20be441c9f
Teach device_tracker device trigger about entity registry ids ( #94972 )
2023-06-21 14:51:00 +02:00
Erik Montnemery
6a29ed8caa
Replace assert_lists_same with pytest_unordered in integrations a-f ( #94900 )
2023-06-20 20:22:31 +02:00
Jan Bouwhuis
ec98e22330
Add type hints for stub_blueprint_populate fixture ( #93568 )
...
Add typehints for stub_blueprint_populate fixture
2023-05-26 08:13:13 +02:00
Erik Montnemery
3cca338c6e
Improve blueprint test fixtures ( #93519 )
2023-05-25 13:45:19 +02: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
J. Nick Koston
5f0d983df1
Make the device_tracker more forgiving when passed an empty ip address string ( #91101 )
...
This has come up over and over and over again
fixes #87165 fixes #51980
2023-04-08 22:32:56 -04:00
Franck Nijhof
ed79265843
Enable Ruff PT006 ( #88165 )
...
* Enable Ruff PT006
* Adjust existing cases
* Fix tests
* Remove unneeded parentheses
2023-02-15 14:09:50 +01:00
epenet
728f62b1ec
Add type hints to integration tests (part 5) ( #87850 )
2023-02-12 19:39:48 +01:00
Erik Montnemery
cc564026fa
Move EntityCategory to homeassistant.const ( #87792 )
...
* Move EntityCategory to homeassistant.const
* Fix more imports
2023-02-09 20:15:37 +01:00
Franck Nijhof
330e1c6cbb
Clean up unnecessary registry mocks from integration tests ( #87763 )
2023-02-09 10:43:45 +01:00
Franck Nijhof
51a9f65a01
Clean up unnecessary registry mocks from Core tests ( #87726 )
2023-02-08 13:28:44 -06: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
5e50a8abd5
Mark device triggers from hidden or auxiliary entities as secondary ( #70335 )
...
* Mark device triggers from hidden or auxiliary entities as secondary
* Update tests
2022-04-21 08:01:32 +02:00
Erik Montnemery
150f173eed
Mark device conditions from hidden or auxiliary entities as secondary ( #70333 )
2022-04-20 21:41:59 +02:00
Michael
70a771b6ed
Respect disable_new_entities for new device_tracker entities ( #68148 )
2022-03-21 20:40:33 -07:00
J. Nick Koston
a18d4c51ff
Ensure dhcp can still discover new devices from device trackers ( #66822 )
...
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2022-02-19 09:01:34 -06:00
Erik Montnemery
dccc4eba76
Remove artifacts from black formatting ( #65113 )
...
* Remove artifacts from black formatting
* Tweak
2022-01-28 17:00:01 +02:00
Paulus Schoutsen
2b4bb49eb7
Make device tracker entities work better ( #63328 )
...
Co-authored-by: Franck Nijhof <git@frenck.dev>
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2022-01-04 23:16:43 -08:00
Ville Skyttä
5926961ed5
Use DeviceAutomationType in tests/components/[a-f]* ( #62440 )
2021-12-20 22:26:29 +01:00
Paulus Schoutsen
ba00c786b0
Correctly detect is not home ( #53279 )
2021-07-21 19:45:07 +02:00
Joakim Sørensen
2f10f59717
Block custom integrations with missing or invalid version ( #49916 )
2021-05-17 15:48:41 +02:00
jan iversen
6a4f414236
Change HomeAssistantType to HomeAssistant ( #49522 )
2021-04-21 15:53:06 -10: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
Ville Skyttä
dc880118a4
Lint suppression cleanups ( #47248 )
...
* Unused pylint suppression cleanups
* Remove outdated pylint bug references
* Add flake8-noqa config and note to run it every now and then
* Add codes to noqa's
* Unused noqa cleanups
2021-03-02 09:02:04 +01:00
Martin Hjelmare
a9a0f8938f
Move device tracker scanner attributes to ScannerEntity ( #45312 )
2021-01-19 11:04:08 -06:00
J. Nick Koston
5e01b828af
Discover devices from device_trackers with router sources ( #45160 )
...
* Discover devices from device_trackers with router sources
* Update homeassistant/components/dhcp/__init__.py
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
* fix stop being called on the wrong context
* clean
* move it to base
* cleanup was too agressive
* Update homeassistant/components/dhcp/__init__.py
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
* coverage
* revert legacy changes
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2021-01-16 01:01:37 +01:00
Franck Nijhof
65cf2fcb6f
Drop asynctest ( #44746 )
2021-01-01 22:31:56 +01:00
Paulus Schoutsen
b3be708db6
Add default config if not there ( #43321 )
...
Co-authored-by: Bram Kragten <mail@bramkragten.nl>
2020-11-25 15:10:04 +01:00
Matthew Donoughe
bc4bbaf6ef
Add device trigger support for device trackers ( #42324 )
...
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
2020-11-09 12:04:16 +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
Paulus Schoutsen
7678d66464
Fix device tracker TrackerEntity defaults ( #32459 )
2020-03-04 09:43:52 +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
Christian Clauss
1d537ad416
Fix typo: serivce --> service ( #31217 )
2020-01-27 19:56:26 +01: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
Bas Nijholt
01d651c67d
Sort imports according to PEP8 for device_tracker ( #29666 )
2019-12-09 12:14:38 +01:00
Hayley McIldoon
7ddce1d52b
Add device condition support for device_tracker ( #28190 )
2019-10-25 10:51:35 -07:00
Paulus Schoutsen
4de97abc3a
Black
2019-07-31 12:25:30 -07:00