"""Discovery service for UniFi."""
import voluptuous as vol

from supervisor.validate import network_port

from ..const import ATTR_HOST, ATTR_PORT


SCHEMA = vol.Schema(
    {vol.Required(ATTR_HOST): vol.Coerce(str), vol.Required(ATTR_PORT): network_port}
)

def2729bd2634c947ea50cde869f54db81f92967
<mask token>

<mask token>
SCHEMA = vol.Schema({vol.Required(ATTR_HOST): vol.Coerce(str), vol.Required
    (ATTR_PORT): network_port})

<mask token>
import voluptuous as vol
from supervisor.validate import network_port
from ..const import ATTR_HOST, ATTR_PORT
SCHEMA = vol.Schema({vol.Required(ATTR_HOST): vol.Coerce(str), vol.Required
    (ATTR_PORT): network_port})

"""Discovery service for UniFi."""
import voluptuous as vol

from supervisor.validate import network_port

from ..const import ATTR_HOST, ATTR_PORT


SCHEMA = vol.Schema(
    {vol.Required(ATTR_HOST): vol.Coerce(str), vol.Required(ATTR_PORT): network_port}
)
