Fix internet access switch for old discovery ()

pull/67812/head
Simone Chemelli 2022-03-07 17:23:08 +01:00 committed by GitHub
parent 98adeb6070
commit 405c2f9cf3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions
homeassistant/components/fritz

View File

@ -392,6 +392,8 @@ class FritzBoxTools(update_coordinator.DataUpdateCoordinator):
)
self.mesh_role = MeshRoles.NONE
for mac, info in hosts.items():
if info.ip_address:
info.wan_access = self._get_wan_access(info.ip_address)
if self.manage_device_info(info, mac, consider_home):
new_device = True
self.send_signal_device_update(new_device)