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 laterpull/49139/head
parent
4eb794ae84
commit
bf28268732
|
@ -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…
Reference in New Issue