mirror of
https://github.com/home-assistant/supervisor.git
synced 2025-07-23 00:56:29 +00:00
Add UniFi discovery service (#1454)
This commit is contained in:
parent
73bdaa623c
commit
33d7d76fee
11
hassio/discovery/services/unifi.py
Normal file
11
hassio/discovery/services/unifi.py
Normal file
@ -0,0 +1,11 @@
|
||||
"""Discovery service for UniFi."""
|
||||
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