mirror of
https://github.com/home-assistant/supervisor.git
synced 2026-04-07 01:03:45 +00:00
Add UniFi discovery service (#1454)
This commit is contained in:
committed by
Pascal Vizeli
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}
|
||||
)
|
||||
Reference in New Issue
Block a user