Remove deprecated UniFi yaml configuration support (#41954)

pull/41971/head
Robert Svensson 2020-10-16 18:55:44 +02:00 committed by GitHub
parent 028689d6bd
commit 1c3ec69166
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 8 deletions

View File

@ -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."""