mirror of
https://github.com/home-assistant/core.git
synced 2025-07-14 00:37:13 +00:00
Downgrade logger message about homekit id missing (#49079)
This can happen if the TXT record is received after the PTR record and should not generate a warning since it will get processed later
This commit is contained in:
parent
eb2949a20f
commit
b86bba246a
@ -209,8 +209,11 @@ class HomekitControllerFlowHandler(config_entries.ConfigFlow):
|
||||
}
|
||||
|
||||
if "id" not in properties:
|
||||
_LOGGER.warning(
|
||||
"HomeKit device %s: id not exposed, in violation of spec", properties
|
||||
# This can happen if the TXT record is received after the PTR record
|
||||
# we will wait for the next update in this case
|
||||
_LOGGER.debug(
|
||||
"HomeKit device %s: id not exposed; TXT record may have not yet been received",
|
||||
properties,
|
||||
)
|
||||
return self.async_abort(reason="invalid_properties")
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user