J. Nick Koston
74a30af79b
Always set interfaces explicitly when IPv6 is present ( #54268 )
2021-08-09 21:13:55 +02:00
J. Nick Koston
f37b164d60
Bump zeroconf to 0.34.3 ( #54294 )
2021-08-09 20:58:27 +02:00
J. Nick Koston
acc0288f4c
Bump zeroconf to 0.33.4 to ensure zeroconf can startup when ipv6 is disabled ( #54165 )
...
Changelog: https://github.com/jstasiak/python-zeroconf/compare/0.33.3...0.33.4
2021-08-06 12:48:00 -07:00
J. Nick Koston
5f790f6bd9
Fetch interface index from network integration instead of socket.if_nametoindex in zeroconf ( #54152 )
2021-08-06 09:15:35 -07:00
J. Nick Koston
46ad55455b
Bump zeroconf to 0.33.3 ( #54108 )
2021-08-05 19:24:09 -07:00
J. Nick Koston
babd9f048f
Bump zeroconf to 0.33.2 ( #53625 )
...
- Changelog: https://github.com/jstasiak/python-zeroconf/compare/0.33.1...0.33.2
2021-07-28 08:49:43 -07:00
Yuxiang Zhu
ce663f629c
Fix various zeroconf IPv6 compatibility issues ( #53505 )
2021-07-27 19:31:51 +02:00
J. Nick Koston
25229a9670
Allow zeroconf name change if there is another Home Assistant running on the local network ( #53476 )
...
* Allow zeroconf name change if there is another Home Assistant running on the local network
* Remove unused try/except
2021-07-26 09:27:49 +02:00
Simone Chemelli
75f7d3d696
Replace util.get_local_ip in favor of components.network.async_get_source_ip() - part 1 ( #52980 )
2021-07-22 08:12:33 -10:00
J. Nick Koston
12b29e2895
Bump zeroconf to 0.33.1 ( #53179 )
2021-07-19 12:10:32 +02:00
J. Nick Koston
bf831267cf
Bump zeroconf to 0.33.0 ( #53174 )
...
- Changelog: https://github.com/jstasiak/python-zeroconf/compare/0.32.1...0.33.0
2021-07-19 10:22:12 +02:00
J. Nick Koston
34782557b7
Bump zeroconf to 0.32.1 ( #52547 )
...
- Changelog: https://github.com/jstasiak/python-zeroconf/compare/0.32.0...0.32.1
- Fixes #52384
2021-07-05 09:17:11 -05:00
J. Nick Koston
9f16e390f5
Deprecate IPv6 zeroconf setting in favor of the network integration ( #51173 )
2021-06-29 17:13:31 -10:00
Ville Skyttä
7d03b02192
Spelling fixes ( #51642 )
2021-06-11 13:35:03 +02:00
J. Nick Koston
64661ee2b7
Add network configuration integration ( #50874 )
...
Co-authored-by: Ruslan Sayfutdinov <ruslan@sayfutdinov.com>
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2021-05-26 09:06:30 -07:00
J. Nick Koston
f1d02bb137
Expand homekit zeroconf matching to use fnmatch ( #50381 )
2021-05-19 00:20:56 -05:00
J. Nick Koston
e37256570c
Add missing return type in zeroconf ( #50847 )
2021-05-18 22:49:10 -05:00
J. Nick Koston
3cc3cacd08
Start ServiceBrowser as soon as possible in zeroconf ( #50784 )
...
Co-authored-by: Ruslan Sayfutdinov <ruslan@sayfutdinov.com>
2021-05-17 20:51:05 -07:00
J. Nick Koston
dd3965e4e2
Ensure zeroconf does not generate config flows when matching attributes are missing ( #50208 )
...
If macaddress, name, or manufacturer were missing from the
discovery info, the matcher would accept instead of reject.
2021-05-11 21:24:42 -07:00
J. Nick Koston
909a20b36d
Use async zeroconf registration functions ( #50168 )
2021-05-11 11:03:36 -05:00
J. Nick Koston
60b90c4546
Bump zeroconf to 0.30.0 to fix thread safety race ( #50130 )
2021-05-05 20:11:06 -07:00
Ville Skyttä
153d6e891e
Use config_entries.SOURCE_* constants ( #49631 )
2021-04-25 11:27:40 +02:00
Marc Mueller
f1d48ddfe3
Update pylint to 2.8.0 ( #49637 )
2021-04-24 14:39:24 -10:00
J. Nick Koston
cb4558c088
Autodetect zeroconf interface selection when not set ( #49529 )
2021-04-21 22:10:34 -07:00
Franck Nijhof
055cdc64c0
Add support for IoT class in manifest ( #46935 )
2021-04-15 10:21:38 +02:00
J. Nick Koston
493bd4cdca
Add manufacturer matching support to zeroconf ( #48810 )
...
We plan on matching with _airplay which means we need
to able to limit to specific manufacturers to avoid
generating flows for integrations with the wrong
manufacturer
2021-04-08 09:03:10 -10:00
Ruslan Sayfutdinov
82c94826fb
Enable strict typing for zeroconf ( #48450 )
...
* Enable strict typing for zeroconf
* Fix lutron_caseta
* Fix pylint warning
* Fix tests
* Fix xiaomi_aqara test
* Add __init__.py in homeassistant.generated module
* Restore add_job with type: ignore
2021-03-30 06:48:04 -10:00
J. Nick Koston
da7fd8a294
Listen on the default interface by default for zeroconf ( #48302 )
2021-03-24 15:04:55 -10:00
Franck Nijhof
6932cf9534
Use contextlib.suppress where possible ( #48189 )
2021-03-23 14:36:43 +01:00
J. Nick Koston
c820dd4cb5
Have pylint warn when user visible log messages do not start with capital letter or end with a period ( #48064 )
...
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2021-03-19 09:26:36 -05:00
Marc Mueller
4cb7718192
Update typing 16 ( #48087 )
2021-03-18 22:58:19 +01:00
Paulus Schoutsen
46e593485e
Handle zeroconf updated events ( #47683 )
2021-03-09 10:14:00 -10:00
Paulus Schoutsen
caf14b78d1
Homekit has two types ( #44879 )
2021-01-07 08:44:34 -10:00
J. Nick Koston
773d95251e
Fix zeroconf outgoing dns compression corruption for large packets ( #44828 )
2021-01-04 21:18:54 +01:00
Paulus Schoutsen
c7bf7b32a2
Zeroconf lowercase ( #44675 )
2020-12-31 01:06:26 +01:00
J. Nick Koston
485cd06de9
Bump zeroconf to 0.28.7 to fix thread safety ( #44160 )
...
Service registration was not thread safe
2020-12-13 12:36:17 +01:00
J. Nick Koston
ef9cd485fd
Update to zeroconf 0.28.6 to accomodate devices that are not strictly name compliant ( #41784 )
2020-10-13 14:02:52 -05:00
J. Nick Koston
7b016063ca
Refactor zeroconf setup to be async ( #39955 )
...
* Refactor zeroconf setup to be async
Most of the setup was calling back to async because
we were setting up listeners. Since we only need
to jump into the executor to create the zeroconf
instance, its much faster to setup in async.
In testing this cut the setup time in half
or better.
* partial revert to after_deps
2020-09-13 18:06:19 -05:00
J. Nick Koston
9389a7c9be
Limit zeroconf discovery to name/macaddress when provided ( #39877 )
...
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
2020-09-11 12:19:21 +02:00
J. Nick Koston
487a74ba5d
Update zeroconf to 0.28.5 ( #39923 )
2020-09-11 07:15:13 +02:00
J. Nick Koston
e649e27d4d
Bump zeroconf to resolve a performance issue with the cache reaper ( #39713 )
...
https://github.com/jstasiak/python-zeroconf/pull/297
2020-09-06 22:40:27 +02:00
J. Nick Koston
11e4ad2272
Bump zeroconf to 0.28.3 ( #39471 )
...
Changes:
https://github.com/jstasiak/python-zeroconf/pull/287
Hopefully this will fix the last round of HomeKit issues
2020-08-31 13:11:26 -05:00
Paul Daumlechner
b1444ffefb
Bump zeroconf to 0.28.2 ( #39322 )
...
* Bump zeroconf to 0.28.2
* Requirements updated
2020-08-27 14:47:15 -05:00
J. Nick Koston
5a9246468e
Prevent invalid data from being passed to zeroconf ( #39009 )
2020-08-21 14:31:17 +02:00
J. Nick Koston
9feae62f93
Update zeroconf to fix ServiceBrowser leak on cancelation ( #38933 )
2020-08-17 15:52:54 -05:00
J. Nick Koston
49478298cc
Ensure service browser does not collapse on bad dns names ( #38851 )
...
If a device on the network presented a bad name, zeroconf
would throw zeroconf.BadTypeInNameException and the service
browser would die off. We now trap the exception and continue.
2020-08-13 22:00:39 -05:00
J. Nick Koston
444df4a7d2
Use the shared zeroconf instance when attempting to create another Zeroconf instance ( #38744 )
2020-08-12 16:08:33 +02:00
J. Nick Koston
d0d0403664
Add zeroconf/homekit/ssdp discovery support for custom components ( #38466 )
...
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
2020-08-05 15:50:56 +02:00
J. Nick Koston
fdc5208d18
Prevent the zeroconf service browser from terminating when a device without any addresses is discovered. ( #38094 )
2020-07-22 20:21:57 -10:00
J. Nick Koston
5cf7b1b1bc
Ensure we do not start discovered flows until after the started event has fired ( #38047 )
...
* Ensure we do not start discovered flows until after the start event has fired
This change makes zeroconf and ssdp match discovery behavior of not
creating config flows until the start event has been fired. This
prevents config flow creation/dependency installs for discovered
config flows from competing for cpu time during startup.
* Start discovery/service browser/ssdp when EVENT_HOMEASSISTANT_STARTED is fired instead of EVENT_HOMEASSISTANT_START
2020-07-21 14:18:43 -10:00