mirror of
https://github.com/home-assistant/supervisor.git
synced 2025-10-22 01:59:38 +00:00
10 lines
253 B
Python
10 lines
253 B
Python
"""Discovery service for the ESPHome Dashboard."""
|
|
import voluptuous as vol
|
|
|
|
from ...validate import network_port
|
|
from ..const import ATTR_HOST, ATTR_PORT
|
|
|
|
SCHEMA = vol.Schema(
|
|
{vol.Required(ATTR_HOST): str, vol.Required(ATTR_PORT): network_port}
|
|
)
|