mirror of
https://github.com/tomaae/homeassistant-mikrotik_router.git
synced 2025-07-03 22:14:32 +02:00
feat: netwatch binary sensor
This commit is contained in:
parent
2cdd645274
commit
13e765c10a
9 changed files with 95 additions and 1 deletions
|
@ -16,12 +16,15 @@ from .binary_sensor_types import (
|
|||
DEVICE_ATTRIBUTES_IFACE_ETHER,
|
||||
DEVICE_ATTRIBUTES_IFACE_SFP,
|
||||
DEVICE_ATTRIBUTES_IFACE_WIRELESS,
|
||||
DEVICE_ATTRIBUTES_NETWATCH,
|
||||
)
|
||||
from .const import (
|
||||
CONF_SENSOR_PPP,
|
||||
DEFAULT_SENSOR_PPP,
|
||||
CONF_SENSOR_PORT_TRACKER,
|
||||
DEFAULT_SENSOR_PORT_TRACKER,
|
||||
CONF_SENSOR_NETWATCH_TRACKER,
|
||||
DEFAULT_SENSOR_NETWATCH_TRACKER,
|
||||
)
|
||||
from .entity import MikrotikEntity, async_add_entities
|
||||
from .helper import format_attribute
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue