Home Assistant Unofficial Reference 2024.12.1
__init__.py
Go to the documentation of this file.
1 """Component providing default configuration for new users."""
2 
3 from homeassistant.core import HomeAssistant
4 from homeassistant.helpers import config_validation as cv
5 from homeassistant.helpers.typing import ConfigType
6 
7 DOMAIN = "default_config"
8 
9 CONFIG_SCHEMA = cv.empty_config_schema(DOMAIN)
10 
11 
12 async def async_setup(hass: HomeAssistant, config: ConfigType) -> bool:
13  """Initialize default configuration."""
14  return True
bool async_setup(HomeAssistant hass, ConfigType config)
Definition: __init__.py:12