Home Assistant Unofficial Reference
2024.12.1
const.py
Go to the documentation of this file.
1
"""Support for Actiontec MI424WR (Verizon FIOS) routers."""
2
3
from
__future__
import
annotations
4
5
import
re
6
from
typing
import
Final
7
8
# mypy: disallow-any-generics
9
10
LEASES_REGEX: Final[re.Pattern[str]] = re.compile(
11
r"(?P<ip>([0-9]{1,3}[\.]){3}[0-9]{1,3})"
12
r"\smac:\s(?P<mac>([0-9a-f]{2}[:-]){5}([0-9a-f]{2}))"
13
r"\svalid\sfor:\s(?P<timevalid>(-?\d+))"
14
r"\ssec"
15
)
core
homeassistant
components
actiontec
const.py
Generated by
1.9.1