Commit Graph
186 Commits
Author SHA1 Message Date
J. Nick Koston 331102e592 Dismiss discoveries when the underlying device disappears (#88340)
* Implement discovery removals

Bluetooth, HomeKit, SSDP, and Zeroconf now implement
dismissing discoveries when the underlying discovered
device disappears

* cover

* add zeroconf test

* cover

* cover bluetooth

* fix rediscover
2023-02-17 15:51:19 -05:00
J. Nick Koston c83ea297b5 Refactor zeroconf task handling (#88204)
* Refactor zeroconf task handling

- Avoid the need to create tasks for most callbacks
- Fixes the untracked task that could get unexpectedly GCed

* be consistant

* be consistant

* fix zeroconf tests

* runtime

* Revert "runtime"

This reverts commit 19e6b6183759279490efbed3129dffd447dc4808.

* precalc

* refactor

* tweak

* update tests
2023-02-15 21:44:11 -05:00
J. Nick Koston 8a2d81fe4b Bump zeroconf to 0.47.3 (#88045)
changelog: https://github.com/python-zeroconf/python-zeroconf/compare/0.47.1...0.47.3
2023-02-13 23:19:36 -05:00
Erik Montnemery 6c2702a7b8 Sort manifests 11 (#87032) 2023-02-08 20:10:18 +01:00
J. Nick Koston 4d0e236c6a Ignore invalid zeroconf names from devices with broken firmwares (#87414) 2023-02-04 16:29:03 -06:00
Franck Nijhof 4aba3fdad6 Code styling tweaks to the zeroconf integration (#86048) 2023-01-16 18:35:23 -10:00
Franck Nijhof 8819634b61 String formatting and max line length - Part 6 (#84525) 2022-12-24 13:19:51 +01:00
J. Nick Koston 75739d8621 Bump zeroconf to 0.47.1 (#84523) 2022-12-23 18:35:44 -10:00
J. Nick Koston 17d674e1cc Bump zeroconf to 0.47.0 (#84420) 2022-12-21 19:18:58 -10:00
J. Nick Koston f1fc54d29d Bump zeroconf to 0.44.0 (#84166) 2022-12-19 11:56:11 +01:00
J. Nick Koston 5c38321c4f Ignore unspecified addresses from zeroconf (#81620) 2022-11-07 15:50:45 -06:00
J. Nick Koston 3764f7d95b Bump zeroconf to 0.39.4 (#81313) 2022-10-31 12:35:43 -05:00
J. Nick Koston 6e19629539 Bump zeroconf to 0.39.3 (#81049) 2022-10-27 01:03:13 +02:00
J. Nick Koston a72e906ac1 Fix zeroconf when location name has a period (#81022) 2022-10-26 10:39:13 -05:00
J. Nick Koston abb3ce6d69 Fix zeroconf starting later than expected (#81023) 2022-10-26 10:06:56 -05:00
J. Nick Koston 90f6924808 Bump zeroconf to 0.39.2 (#80699)
python 3.11 support & performance improvements

changelog: https://github.com/jstasiak/python-zeroconf/compare/0.39.1...0.39.2
2022-10-20 20:32:32 -04:00
Franck Nijhof 2b27cfdabb Set system & entity integration types (#79593) 2022-10-04 10:36:42 -04:00
Paulus Schoutsen 6e893d9162 Store alternative domain for Zeroconf homekit discovery (#79240) 2022-09-29 22:21:00 -04:00
epenet 7871a517a8 Import constants from root (#78271) 2022-09-12 18:53:05 +02:00
J. Nick Koston b945327056 Bump zeroconf to 0.39.1 (#77859) 2022-09-06 08:00:05 -05:00
J. Nick Koston c975146146 Reduce discovery integration matching overhead (#77194) 2022-08-23 10:35:20 -04:00
J. Nick Koston c7838c347f Bump zeroconf to 0.39.0 (#76328) 2022-08-07 12:11:11 -04:00
J. Nick Koston df6892b908 Offer HKC local push control option when there are multiple zeroconf homekit matches (#74441) 2022-07-05 21:02:18 -07:00
J. Nick Koston d25a5f3836 Bump zeroconf to 0.38.7 (#73497) 2022-06-14 12:16:30 -10:00
Franck Nijhof bfb47eb212 Final clean up of helpers accessed via hass (#72032)
* Final clean up of helpers accessed via hass

* Fix circular dep

* Fix import
2022-05-17 23:42:37 +03:00
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 92f46a48c3 Bump zeroconf to 0.38.6 (#71447) 2022-05-07 00:01:05 +03:00
J. Nick Koston 2e20ec21c4 Bump zeroconf to 0.38.5 (#71160) 2022-05-01 18:49:17 +01:00
J. Nick Koston 21ce441a97 Bump zeroconf to 0.38.4 (#67406) 2022-02-28 16:39:13 -08:00
Marc Mueller ac50248938 Add type ignore error codes [other] (#66781) 2022-02-17 23:10:25 -08:00
Joshua Roys bc2cc42955 Don't abort zeroconf discovery for IPv6-only devices (#66455) 2022-02-13 15:24:23 -06:00
Joshua Roys 9134e5c844 Get discovered zeroconf IPv6 addresses (#65462) 2022-02-11 16:46:17 -06:00
J. Nick Koston 3bb8de66d8 Bump zeroconf to 0.38.3 (#65341) 2022-01-31 16:08:42 -08:00
J. Nick Koston 0755310258 Add loggers to zeroconf (#65168)
- The original PR excluded all zeroconf deps, and I forget to add it back
2022-01-28 20:21:05 -08:00
J. Nick Koston ee375ff42d Offer local control option when there are multiple zeroconf homekit matches (#62649) 2022-01-04 16:51:38 +01:00
J. Nick Koston 1d0036b86a Bump zeroconf to 0.38.1 (#62720) 2021-12-24 13:26:07 +01:00
J. Nick Koston 615872a5d1 Align zeroconf matching with ZeroconfServiceInfo (#62133) 2021-12-19 02:09:21 -06:00
epenet da7c5f4722 Break long lines in discovery_info (#61431) 2021-12-10 12:48:47 +01:00
epenetandepenet c05eca1c82 Remove log flooding prevention logic from discovery info (#61243)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-12-08 10:28:26 -10:00
epenetandepenet 683eb10f0e Enable warnings for ZeroconfServiceInfo (#60759)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-12-01 05:55:36 -10:00
epenetandepenet cbab0ba9c0 Drop base ATTR constants in zeroconf (#60561)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-12-01 12:29:41 +01:00
epenetandepenet 37430e7c9e Add get method to ZeroconfServiceInfo (#60528)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-11-29 17:37:55 +01:00
J. Nick Koston fd116fc408 Refactor zeroconf matching to be more DRY (#60293) 2021-11-24 19:57:13 +01:00
epenetandepenet 44611d7e26 Use dataclass for ZeroconfServiceInfo (#60206)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-11-23 22:59:36 +01:00
Ville Skyttä f305d99af9 Add integration filtering and error if core options to helpers.frame.report (#60009)
Reduces some existing and upcoming boilerplate.
2021-11-20 12:53:04 +02:00
epenet d0ff8a9b76 Add id constant for homekit discovery (#59986) 2021-11-20 10:07:59 +00:00
J. Nick Koston 347c4ea137 Bump zeroconf to 0.37.0 (#59932) 2021-11-18 20:23:20 -08:00
Simone ChemelliandJ. Nick Koston 5fc51130ea Replace util.get_local_ip in favor of components.network.async_get_source_ip() - part 4 (#58669)
Co-authored-by: J. Nick Koston <nick@koston.org>
2021-11-15 09:18:57 -08:00
J. Nick Koston 0ba45e4db4 Bump zeroconf to 0.36.13 (#59644)
- Closes #59415
- Fixes #58453
- Fixes #57678

- Changelog: https://github.com/jstasiak/python-zeroconf/compare/0.36.12...0.36.13
2021-11-13 18:18:54 +01:00
epenetandepenet ab1e14204f Rename zeroconf service info (#59467)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-11-10 15:26:47 +01:00