Commit Graph

120 Commits

Author SHA1 Message Date
J. Nick Koston
2e6e518722 Bump cached-ipaddress to 1.0.1 (#153670) 2025-10-04 13:49:13 -05:00
J. Nick Koston
d19e410ea8 Bump aiodhcpwatcher to 1.2.1 (#150519) 2025-08-12 22:07:25 +02:00
J. Nick Koston
6a8d752e56 Bump aiodiscover to 2.7.1 (#149920) 2025-08-03 16:42:38 -10:00
David Rapan
ab5d60e33d Make DHCP discovery aware of the network integration (#144767)
Co-authored-by: J. Nick Koston <nick@koston.org>
2025-05-14 00:59:48 -05:00
David Rapan
e69ca0cf80 Bump aiodhcpwatcher to 1.2.0 (#144769) 2025-05-12 17:00:17 -05:00
J. Nick Koston
2940cb0fa0 Bump aiodiscover to 2.7.0 (#144571) 2025-05-09 11:59:38 -05:00
J. Nick Koston
ba6ce28d3c Add DHCP discovery subscribe websocket API (#143106)
* Add DHCP discovery subscribe websocket API

* fix circular import

* fixes

* fixes

* fixes

* reduce

* reduce

* reduce

* fix tests

* fix tests

* rework

* tests

* reduce number of lines changed

* reduce
2025-04-21 10:25:04 -04:00
J. Nick Koston
f0ad0e6eae Bump cached-ipaddress to 0.10.0 (#139807) 2025-03-04 17:51:46 -10:00
J. Nick Koston
1633700a58 Bump cached-ipaddress to 0.9.2 (#139245) 2025-02-25 15:25:07 +01:00
J. Nick Koston
5a0a3d27d9 Bump aiodiscover to 2.6.1 (#139055)
changelog: https://github.com/Bluetooth-Devices/aiodiscover/compare/v2.6.0...v2.6.1
2025-02-22 23:11:28 +02:00
J. Nick Koston
4b342b7dd4 Bump cached-ipaddress to 0.8.1 (#139061)
changelog: https://github.com/Bluetooth-Devices/cached-ipaddress/compare/v0.8.0...v0.8.1
2025-02-22 21:20:06 +02:00
J. Nick Koston
c806638448 Bump aiodhcpwatcher to 1.1.1 (#139058) 2025-02-22 19:34:40 +01:00
J. Nick Koston
b8ec8ab3cc Bump aiodiscover to 2.6.0 (#138239) 2025-02-10 16:25:39 -06:00
Marc Mueller
bbe6804572 Update dhcp dependencies (#137384) 2025-02-05 03:16:43 +01:00
J. Nick Koston
6afaeee0fd Bump aiodhcpwatcher to 1.0.3 (#137188)
changelog: https://github.com/bdraco/aiodhcpwatcher/compare/v1.0.2...v1.0.3
2025-02-02 21:17:58 +02:00
epenet
31c36beb2e Move DhcpServiceInfo to service_info helpers (#135658)
* Move DhcpServiceInfo to service_info helpers

* Fix mypy/pylint
2025-01-15 13:09:18 +01:00
J. Nick Koston
8f96256e86 Bump cached-ipaddress to 0.8.0 (#127703)
changelog: https://github.com/bdraco/cached-ipaddress/compare/v0.7.0...v0.8.0
2024-10-06 07:28:48 +02:00
J. Nick Koston
2f8c9d4f93 Bump cached-ipaddress to 0.7.0 (#127475) 2024-10-03 13:11:35 -05:00
Erik Montnemery
972dc89c0f Reinitialize dhcp discovery flow on config entry removal (#126556)
* Reinitialize dhcp discovery flow on unignore

* Tweak

* Rediscover on any removed config entry

* Adjust log message
2024-09-24 14:43:05 +02:00
J. Nick Koston
615ec548db Change dhcp internal index to use mac address (#126573) 2024-09-24 08:58:32 +02:00
J. Nick Koston
dbf080194b Bump cached-ipaddress to 0.6.0 (#126571) 2024-09-23 15:43:33 -05:00
J. Nick Koston
16231da5ef Bump cached-ipaddress to 0.5.0 (#124602)
changelog: https://github.com/bdraco/cached-ipaddress/compare/v0.3.0...v0.5.0
2024-08-26 13:48:52 +02:00
J. Nick Koston
6e727a49bf Remove unused constant in dhcp (#124605) 2024-08-25 20:58:20 -07:00
J. Nick Koston
fbdc06647b Bump aiodhcpwatcher to 1.0.2 (#120311) 2024-06-24 14:05:13 +02:00
epenet
97f6b578c8 Enforce namespace import in core (#118235) 2024-05-27 14:03:00 +02:00
J. Nick Koston
79c9db4089 Bump aiodiscover to 2.1.0 (#115823) 2024-04-19 09:43:02 +02:00
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