mirror of
https://github.com/home-assistant/supervisor.git
synced 2025-07-15 13:16:29 +00:00
Support for AdGuard Home discovery (#1107)
* Support for AdGuard Home discovery
* 👕 Darkened the sky
This commit is contained in:
parent
55d803b2a0
commit
c16a208b39
11
hassio/discovery/services/adguard.py
Normal file
11
hassio/discovery/services/adguard.py
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
"""Discovery service for AdGuard."""
|
||||||
|
import voluptuous as vol
|
||||||
|
|
||||||
|
from hassio.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}
|
||||||
|
)
|
Loading…
x
Reference in New Issue
Block a user