mirror of
https://github.com/home-assistant/core.git
synced 2025-07-23 13:17:32 +00:00
Retrieve wire and wireless devices with the SRM device tracker (#24117)
This commit is contained in:
parent
31b2f331db
commit
9678752480
@ -80,7 +80,7 @@ class SynologySrmDeviceScanner(DeviceScanner):
|
|||||||
"""Check the router for connected devices."""
|
"""Check the router for connected devices."""
|
||||||
_LOGGER.debug("Scanning 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 = []
|
last_results = []
|
||||||
|
|
||||||
for device in devices:
|
for device in devices:
|
||||||
|
@ -1,9 +1,9 @@
|
|||||||
{
|
{
|
||||||
"domain": "synology_srm",
|
"domain": "synology_srm",
|
||||||
"name": "Synology srm",
|
"name": "Synology SRM",
|
||||||
"documentation": "https://www.home-assistant.io/components/synology_srm",
|
"documentation": "https://www.home-assistant.io/components/synology_srm",
|
||||||
"requirements": [
|
"requirements": [
|
||||||
"synology-srm==0.0.6"
|
"synology-srm==0.0.7"
|
||||||
],
|
],
|
||||||
"dependencies": [],
|
"dependencies": [],
|
||||||
"codeowners": [
|
"codeowners": [
|
||||||
|
@ -1710,7 +1710,7 @@ sucks==0.9.4
|
|||||||
swisshydrodata==0.0.3
|
swisshydrodata==0.0.3
|
||||||
|
|
||||||
# homeassistant.components.synology_srm
|
# homeassistant.components.synology_srm
|
||||||
synology-srm==0.0.6
|
synology-srm==0.0.7
|
||||||
|
|
||||||
# homeassistant.components.tahoma
|
# homeassistant.components.tahoma
|
||||||
tahoma-api==0.0.14
|
tahoma-api==0.0.14
|
||||||
|
Loading…
x
Reference in New Issue
Block a user