mirror of
https://github.com/home-assistant/core.git
synced 2025-07-27 15:17:35 +00:00
Use coordinator data for devolo Home Network PLC data rate sensor (#143606)
This commit is contained in:
parent
ed0bdf9e5f
commit
672dbc03c6
@ -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
|
||||
]
|
||||
|
Loading…
x
Reference in New Issue
Block a user