Use coordinator data for devolo Home Network PLC data rate sensor (#143606)

This commit is contained in:
Guido Schmitz 2025-04-25 18:45:16 +02:00 committed by GitHub
parent ed0bdf9e5f
commit 672dbc03c6
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -138,7 +138,7 @@ async def async_setup_entry(
SENSOR_TYPES[CONNECTED_PLC_DEVICES],
)
)
network = await device.plcnet.async_get_network_overview()
network: LogicalNetwork = coordinators[CONNECTED_PLC_DEVICES].data
peers = [
peer.mac_address for peer in network.devices if peer.topology == REMOTE
]