Fix ignored upnp discoveries not being matched when device changes its unique identifier (#81240)

Fixes https://github.com/home-assistant/core/issues/78454
fixes undefined
This commit is contained in:
Steven Looman 2022-11-08 11:02:53 +01:00 committed by GitHub
parent fc0e0bf099
commit 274049cc8e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 83 additions and 16 deletions

View file

@ -7,6 +7,7 @@ from homeassistant.const import TIME_SECONDS
LOGGER = logging.getLogger(__package__)
DOMAIN = "upnp"
DOMAIN_DISCOVERIES = "discoveries"
BYTES_RECEIVED = "bytes_received"
BYTES_SENT = "bytes_sent"
PACKETS_RECEIVED = "packets_received"