Retrieve wire and wireless devices with the SRM device tracker (#24117)
This commit is contained in:
parent
31b2f331db
commit
9678752480
3 changed files with 4 additions and 4 deletions
|
@ -80,7 +80,7 @@ class SynologySrmDeviceScanner(DeviceScanner):
|
|||
"""Check the router for connected devices."""
|
||||
_LOGGER.debug("Scanning for connected devices")
|
||||
|
||||
devices = self.client.mesh.network_wifidevice()
|
||||
devices = self.client.core.network_nsm_device({'is_online': True})
|
||||
last_results = []
|
||||
|
||||
for device in devices:
|
||||
|
|
|
@ -1,9 +1,9 @@
|
|||
{
|
||||
"domain": "synology_srm",
|
||||
"name": "Synology srm",
|
||||
"name": "Synology SRM",
|
||||
"documentation": "https://www.home-assistant.io/components/synology_srm",
|
||||
"requirements": [
|
||||
"synology-srm==0.0.6"
|
||||
"synology-srm==0.0.7"
|
||||
],
|
||||
"dependencies": [],
|
||||
"codeowners": [
|
||||
|
|
|
@ -1710,7 +1710,7 @@ sucks==0.9.4
|
|||
swisshydrodata==0.0.3
|
||||
|
||||
# homeassistant.components.synology_srm
|
||||
synology-srm==0.0.6
|
||||
synology-srm==0.0.7
|
||||
|
||||
# homeassistant.components.tahoma
|
||||
tahoma-api==0.0.14
|
||||
|
|
Loading…
Add table
Reference in a new issue