mirror of
https://github.com/home-assistant/core.git
synced 2025-07-19 19:27:45 +00:00
Remove deprecated UniFi yaml configuration support (#41954)
This commit is contained in:
parent
028689d6bd
commit
1c3ec69166
@ -1,9 +1,6 @@
|
|||||||
"""Support for devices connected to UniFi POE."""
|
"""Support for devices connected to UniFi POE."""
|
||||||
import voluptuous as vol
|
|
||||||
|
|
||||||
from homeassistant.const import EVENT_HOMEASSISTANT_STOP
|
from homeassistant.const import EVENT_HOMEASSISTANT_STOP
|
||||||
from homeassistant.core import callback
|
from homeassistant.core import callback
|
||||||
import homeassistant.helpers.config_validation as cv
|
|
||||||
from homeassistant.helpers.device_registry import CONNECTION_NETWORK_MAC
|
from homeassistant.helpers.device_registry import CONNECTION_NETWORK_MAC
|
||||||
|
|
||||||
from .config_flow import get_controller_id_from_config_entry
|
from .config_flow import get_controller_id_from_config_entry
|
||||||
@ -19,11 +16,6 @@ SAVE_DELAY = 10
|
|||||||
STORAGE_KEY = "unifi_data"
|
STORAGE_KEY = "unifi_data"
|
||||||
STORAGE_VERSION = 1
|
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):
|
async def async_setup(hass, config):
|
||||||
"""Component doesn't support configuration through configuration.yaml."""
|
"""Component doesn't support configuration through configuration.yaml."""
|
||||||
|
Loading…
x
Reference in New Issue
Block a user