mirror of
https://github.com/home-assistant/core.git
synced 2026-04-02 08:26:41 +01:00
18 lines
450 B
Python
18 lines
450 B
Python
"""Integration for battery triggers and conditions."""
|
|
|
|
from __future__ import annotations
|
|
|
|
from homeassistant.core import HomeAssistant
|
|
from homeassistant.helpers import config_validation as cv
|
|
from homeassistant.helpers.typing import ConfigType
|
|
|
|
DOMAIN = "battery"
|
|
CONFIG_SCHEMA = cv.empty_config_schema(DOMAIN)
|
|
|
|
__all__ = []
|
|
|
|
|
|
async def async_setup(hass: HomeAssistant, config: ConfigType) -> bool:
|
|
"""Set up the component."""
|
|
return True
|