J. Nick Koston
ca5ed274cb
Deprecate calling async_listen and async_listen_once with run_immediately ( #115169 )
2024-04-08 10:07:54 -10:00
Marc Mueller
3c5089bc3f
Update import for EventStateChangedData [a-h] ( #114899 )
2024-04-04 11:48:36 -10:00
J. Nick Koston
40ce2011be
Run dhcp listeners with run_immediately ( #113726 )
...
Neither of these need a call_soon
2024-03-18 10:16:20 -04:00
J. Nick Koston
e293afe46e
Bump aiodhcpwatcher to 1.0.0 ( #113469 )
2024-03-14 14:16:19 -10:00
J. Nick Koston
5a62be571d
Bump aiodhcpwatcher to 0.8.2 ( #113466 )
2024-03-14 13:09:58 -10:00
J. Nick Koston
6338c8d86e
Bump aiodiscover to 2.0.0 ( #113337 )
2024-03-13 17:24:33 -10:00
J. Nick Koston
2061cedadb
Bump aiodhcpwatcher to 0.8.1 ( #113096 )
2024-03-11 12:01:06 -10:00
Marc Mueller
25237e0377
Replace EventType with Event [a-g] ( #112739 )
2024-03-08 19:35:17 +01:00
Paulus Schoutsen
f416d67d21
Remove built-in support for import_executor in manifest ( #112725 )
2024-03-08 12:02:32 -05:00
Marc Mueller
0e3945ca6c
Add empty line after module docstring [d-f] ( #112698 )
2024-03-08 14:15:26 +01:00
J. Nick Koston
d40bd0f6c8
Fix dhcp delaying shutdown ( #112670 )
2024-03-07 23:37:43 -05:00
J. Nick Koston
d6d2ded546
Import dhcp in the executor to avoid blocking the event loop ( #111589 )
...
Discovery integrations load a lot earlier when many modules
are not yet loaded so they have a lot less overlapping deps
dhcp uses scapy which is large to import. I hope one
day to replace it with something more lightweight
2024-02-26 23:20:24 -05:00
J. Nick Koston
b3452dc3f3
Refactor dhcp to move all mac formatting into the client processor ( #110509 )
2024-02-13 19:12:38 -06:00
J. Nick Koston
122ac059bc
Convert dhcp watcher to asyncio ( #109938 )
2024-02-08 22:23:42 -06:00
J. Nick Koston
2d8d6ce642
Bump aiodiscover 1.6.1 ( #110059 )
...
fixes decoding idna encoding hostnames
changelog: https://github.com/bdraco/aiodiscover/compare/v1.6.0...v1.6.1
2024-02-09 04:27:04 +01:00
J. Nick Koston
73589015c3
Improve scalability of DHCP matchers ( #109406 )
2024-02-04 16:50:08 -06:00
J. Nick Koston
54f460b7c9
Improve performance of dhcp on high activity networks ( #105884 )
...
* Improve performance of dhcp on high activity networks
Most of the overhead was constructing IPAddress objects
which is solved with https://github.com/bdraco/cached-ipaddress
* fix test
* fix: bump
* bump again
* lets do it on the correct branch
2023-12-21 20:36:09 +01:00
J. Nick Koston
235914c63a
Improve performance of dhcp integration client processing ( #106137 )
...
We were using run_callback_threadsafe here which has the overhead
of creating a future and waiting for the result when we throw
it away.
2023-12-21 09:28:04 +01:00
Ville Skyttä
24b1e01d71
Update Ruff to 0.1.8, avoid linter/formatter conflicts ( #106080 )
...
* Disable Ruff rules that may conflict with the formatter
* Upgrade Ruff to 0.1.8
- https://github.com/astral-sh/ruff/releases/tag/v0.1.7
- https://github.com/astral-sh/ruff/releases/tag/v0.1.8
* Format with Ruff 0.1.8
2023-12-20 23:55:09 +01:00
J. Nick Koston
87c081e70d
Bump aiodiscover to 1.6.0 ( #105885 )
2023-12-16 16:07:21 -10:00
J. Nick Koston
06c7f0959c
Update dhcp to use stdlib ipaddress methods ( #100625 )
2023-09-20 11:54:24 +02:00
J. Nick Koston
4153181cd3
Bump aiodiscover to 1.5.1 ( #100020 )
...
changelog: https://github.com/bdraco/aiodiscover/compare/v1.4.16...v1.5.1
2023-09-10 10:17:59 +02:00
Ville Skyttä
3b4774d9ed
Remove unnnecessary pylint configs from components/[a-d]* ( #98911 )
2023-08-24 00:54:02 +02:00
Marc Mueller
797a9c1ead
Improve `async_track_state_added/removed_domain` callback typing ( #97126 )
2023-07-24 09:11:41 +02:00
Erik Montnemery
7539cf25be
Don't require passing identifiers to DeviceRegistry.async_get_device ( #96479 )
...
* Require keyword arguments to DeviceRegistry.async_get_device
* Update tests
* Update tests
* Don't enforce keyword arguments
2023-07-13 13:39:25 -04:00
Erik Montnemery
ef68f2c3ff
Add empty config schema to integrations d-h ( #93645 )
2023-05-29 21:00:08 +02:00
J. Nick Koston
e5931dfce2
Bump aiodiscover to 1.4.16 ( #90903 )
2023-04-06 10:30:29 +02:00
epenet
c01b1eb013
Adjust async_track_time_interval name argument ( #90838 )
...
Adjust async_track_time_interval naming
2023-04-05 10:58:02 -04:00
J. Nick Koston
0cc9b2e803
Use slots for discovery dataclasses ( #90751 )
2023-04-04 12:44:59 +02:00
J. Nick Koston
1cd2fe9d28
Bump aiodiscover to 1.4.15 ( #90383 )
2023-03-28 00:44:34 +02:00
J. Nick Koston
02ef7d445d
Allow passing an optional name to async_track_time_interval ( #90244 )
...
* Allow passing an optional name to async_track_time_interval
This is the same idea as passing a name to asyncio.create_task which
makes it easier to track down bugs
* more
* short
* still cannot find it
* add a few more
* test
2023-03-25 10:11:14 -04:00
J. Nick Koston
927b43626c
Bump aiodiscover to 1.4.14 ( #89174 )
2023-03-05 12:44:45 +01:00
Erik Montnemery
87420e949d
Sort manifests 2 ( #87023 )
2023-02-08 20:16:39 +01:00
J. Nick Koston
7fdf00a9fb
Bump scapy to 2.5.0 ( #85074 )
...
changelog: https://github.com/secdev/scapy/compare/v2.4.5...v2.5.0
Reduces memory overhead via https://github.com/secdev/scapy/pull/3579
2023-01-03 16:48:47 -05:00
Erik Montnemery
c4afc33fc5
Add abc.ABC to classes with abstract methods ( #83546 )
2022-12-08 17:50:36 +01:00
Franck Nijhof
2b27cfdabb
Set system & entity integration types ( #79593 )
2022-10-04 10:36:42 -04:00
epenet
b5402f9b57
Import device tracker constants from root ( #78242 )
2022-09-12 20:50:44 -04:00
J. Nick Koston
e83594a179
Bump aiodiscover to 1.4.13 ( #78253 )
2022-09-12 12:19:45 +02:00
J. Nick Koston
c975146146
Reduce discovery integration matching overhead ( #77194 )
2022-08-23 10:35:20 -04:00
Marc Mueller
1a8ccfeb56
Use device_tracker SourceType enum [a-g] ( #75963 )
2022-07-31 15:51:04 +02:00
epenet
141688e210
Cleanup ServiceInfo compatibility ( #60540 )
...
Co-authored-by: epenet <epenet@users.noreply.github.com>
Co-authored-by: J. Nick Koston <nick@koston.org>
2022-05-09 14:17:48 +02:00
J. Nick Koston
23cf8bef65
Bump aiodiscover to 1.4.11 ( #70413 )
...
Fixes #70402
Changelog: https://github.com/bdraco/aiodiscover/compare/v1.4.10...v1.4.11
2022-04-22 19:26:06 +03:00
J. Nick Koston
b8369f79eb
Bump aiodiscover to 1.4.10 ( #70348 )
2022-04-21 01:43:27 +02:00
J. Nick Koston
e2881ba57e
Bump aiodiscover to 1.4.9 ( #70213 )
2022-04-17 22:29:48 -07:00
J. Nick Koston
076fe97110
Strict typing for dhcp ( #67361 )
2022-02-28 18:49:44 -10:00
Martin Hjelmare
d9abd5efea
Fix dhcp None hostname ( #67289 )
...
* Fix dhcp None hostname
* Test handle None hostname
2022-02-26 19:37:24 +01:00
J. Nick Koston
a58fd87964
Bump aiodiscover to 1.4.8 ( #66892 )
2022-02-19 20:26:33 +01: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
J. Nick Koston
f069a37f7d
Allow integrations to request dhcp discovery flows for registered devices ( #66528 )
2022-02-15 11:02:52 -06:00
J. Nick Koston
adbc0e5955
Prevent multiple dhcp flows from being started for the same device/domain ( #65753 )
2022-02-05 10:59:22 -06:00