style: address review findings for package structure and manifest

This commit is contained in:
Joshua King
2026-09-10 16:35:10 -04:00
parent 9b742f9cf2
commit 1fa8ec2659
3 changed files with 31 additions and 4 deletions
+8 -3
View File
@@ -2,22 +2,27 @@
from __future__ import annotations
import logging
from homeassistant.core import HomeAssistant
from typing import Any
from homeassistant.config_entries import ConfigEntry
from homeassistant.core import HomeAssistant
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)."""
async def async_setup(hass: HomeAssistant, config: dict[str, Any]) -> bool:
"""Set up the NestQuest integration. YAML configuration is not used, returns True."""
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