Remove deprecated UniFi yaml configuration support (#41954)
parent
028689d6bd
commit
1c3ec69166
|
@ -1,9 +1,6 @@
|
|||
"""Support for devices connected to UniFi POE."""
|
||||
import voluptuous as vol
|
||||
|
||||
from homeassistant.const import EVENT_HOMEASSISTANT_STOP
|
||||
from homeassistant.core import callback
|
||||
import homeassistant.helpers.config_validation as cv
|
||||
from homeassistant.helpers.device_registry import CONNECTION_NETWORK_MAC
|
||||
|
||||
from .config_flow import get_controller_id_from_config_entry
|
||||
|
@ -19,11 +16,6 @@ SAVE_DELAY = 10
|
|||
STORAGE_KEY = "unifi_data"
|
||||
STORAGE_VERSION = 1
|
||||
|
||||
CONFIG_SCHEMA = vol.Schema(
|
||||
cv.deprecated(UNIFI_DOMAIN, invalidation_version="0.109"),
|
||||
{UNIFI_DOMAIN: cv.match_all},
|
||||
)
|
||||
|
||||
|
||||
async def async_setup(hass, config):
|
||||
"""Component doesn't support configuration through configuration.yaml."""
|
||||
|
|
Loading…
Reference in New Issue