feat: create custom_components/nestquest package structure and manifest.json

This commit is contained in:
Joshua King
2026-09-10 15:25:51 -04:00
parent 33e903fc7a
commit 9b742f9cf2
5 changed files with 105 additions and 0 deletions
+23
View File
@@ -0,0 +1,23 @@
"""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
+2
View File
@@ -0,0 +1,2 @@
"""Constants for the NestQuest integration."""
DOMAIN = "nestquest"
+12
View File
@@ -0,0 +1,12 @@
{
"domain": "nestquest",
"name": "NestQuest",
"codeowners": ["@overseer"],
"config_flow": true,
"documentation": "https://code.cubecraftlabs.com/Maniacs_Mansion/NestQuest",
"integration_type": "hub",
"iot_class": "local_polling",
"issue_tracker": "https://code.cubecraftlabs.com/Maniacs_Mansion/NestQuest/issues",
"requirements": [],
"version": "0.1.0"
}