mirror of
https://github.com/home-assistant/core.git
synced 2025-07-19 19:27:45 +00:00
Don't try to parse other entries in client list since they can be empty and are not used anyway.
This commit is contained in:
parent
03ceb667ba
commit
5099fb7680
@ -51,15 +51,7 @@ _LOGGER = logging.getLogger(__name__)
|
|||||||
_DEVICES_REGEX = re.compile(
|
_DEVICES_REGEX = re.compile(
|
||||||
r'(?P<name>([^\s]+))\s+' +
|
r'(?P<name>([^\s]+))\s+' +
|
||||||
r'(?P<ip>([0-9]{1,3}[\.]){3}[0-9]{1,3})\s+' +
|
r'(?P<ip>([0-9]{1,3}[\.]){3}[0-9]{1,3})\s+' +
|
||||||
r'(?P<mac>(([0-9a-f]{2}[:-]){5}([0-9a-f]{2})))\s+' +
|
r'(?P<mac>(([0-9a-f]{2}[:-]){5}([0-9a-f]{2})))\s+')
|
||||||
r'(?P<os>([^\s]+))\s+' +
|
|
||||||
r'(?P<network>([^\s]+))\s+' +
|
|
||||||
r'(?P<ap>([^\s]+))\s+' +
|
|
||||||
r'(?P<channel>([^\s]+))\s+' +
|
|
||||||
r'(?P<type>([^\s]+))\s+' +
|
|
||||||
r'(?P<role>([^\s]+))\s+' +
|
|
||||||
r'(?P<signal>([^\s]+))\s+' +
|
|
||||||
r'(?P<speed>([^\s]+))')
|
|
||||||
|
|
||||||
|
|
||||||
# pylint: disable=unused-argument
|
# pylint: disable=unused-argument
|
||||||
|
Loading…
x
Reference in New Issue
Block a user