24 lines
708 B
Python
24 lines
708 B
Python
"""The NestQuest integration."""
|
|||
|
|
from __future__ import annotations
|
||
|
|
|
||
|
|
import logging
|
||
|
|
from homeassistant.core import HomeAssistant
|
||
|
|
from homeassistant.config_entries import ConfigEntry
|
||
|
|
|
||
|
|
from .const import DOMAIN
|
||
|
|
|
||
|
|
_LOGGER = logging.getLogger(__name__)
|
||
|
|
|
||
|
|
async def async_setup(hass: HomeAssistant, config: dict) -> bool:
|
||
|
|
"""Set up the NestQuest component from YAML (not supported)."""
|
||
|
|
return True
|
||
|
|
|
||
|
|
async def async_setup_entry(hass: HomeAssistant, entry: ConfigEntry) -> bool:
|
||
|
|
"""Set up NestQuest from a config entry."""
|
||
|
|
hass.data.setdefault(DOMAIN, {})
|
||
|
|
return True
|
||
|
|
|
||
|
|
async def async_unload_entry(hass: HomeAssistant, entry: ConfigEntry) -> bool:
|
||
|
|
"""Unload a config entry."""
|
||
|
|
return True
|