mirror of
https://github.com/home-assistant/core.git
synced 2025-07-24 05:37:44 +00:00
reduce
This commit is contained in:
parent
aba0fa0190
commit
b23b62b018
@ -294,12 +294,7 @@ class WatcherBase:
|
||||
matched_domains.add(domain)
|
||||
|
||||
if self._callbacks:
|
||||
address_data: dict[str, DHCPAddressData] = {
|
||||
mac_address: {
|
||||
"ip": compressed_ip_address,
|
||||
"hostname": lowercase_hostname,
|
||||
}
|
||||
}
|
||||
address_data = {mac_address: data}
|
||||
for callback_ in self._callbacks:
|
||||
callback_(address_data)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user