Home Assistant Unofficial Reference 2024.12.1
__init__.py File Reference

Go to the source code of this file.

Namespaces

 homeassistant.components.homeassistant
 

Functions

None homeassistant.components.homeassistant._async_stop (HomeAssistant hass, bool restart)
 
None homeassistant.components.homeassistant.async_set_stop_handler (HomeAssistant hass, Callable[[HomeAssistant, bool], Coroutine[Any, Any, None]] stop_handler)
 
bool homeassistant.components.homeassistant.async_setup (HomeAssistant hass, ConfigType config)
 

Variables

 homeassistant.components.homeassistant._LOGGER = logging.getLogger(__name__)
 
string homeassistant.components.homeassistant.ATTR_ENTRY_ID = "entry_id"
 
string homeassistant.components.homeassistant.ATTR_SAFE_MODE = "safe_mode"
 
 homeassistant.components.homeassistant.SCHEMA_RELOAD_CONFIG_ENTRY
 
 homeassistant.components.homeassistant.SCHEMA_RESTART = vol.Schema({vol.Optional(ATTR_SAFE_MODE, default=False): bool})
 
 homeassistant.components.homeassistant.SCHEMA_UPDATE_ENTITY = vol.Schema({ATTR_ENTITY_ID: cv.entity_ids})
 
string homeassistant.components.homeassistant.SERVICE_CHECK_CONFIG = "check_config"
 
string homeassistant.components.homeassistant.SERVICE_RELOAD_ALL = "reload_all"
 
string homeassistant.components.homeassistant.SERVICE_RELOAD_CONFIG_ENTRY = "reload_config_entry"
 
string homeassistant.components.homeassistant.SERVICE_RELOAD_CORE_CONFIG = "reload_core_config"
 
string homeassistant.components.homeassistant.SERVICE_RELOAD_CUSTOM_TEMPLATES = "reload_custom_templates"
 
string homeassistant.components.homeassistant.SERVICE_SET_LOCATION = "set_location"
 
string homeassistant.components.homeassistant.SERVICE_UPDATE_ENTITY = "update_entity"
 
tuple homeassistant.components.homeassistant.SHUTDOWN_SERVICES = (SERVICE_HOMEASSISTANT_STOP, SERVICE_HOMEASSISTANT_RESTART)