core/homeassistant/components/hardware/__init__.py

18 lines
408 B
Python
Raw Normal View History

2022-05-25 18:39:15 +00:00
"""The Hardware integration."""
from __future__ import annotations
from homeassistant.core import HomeAssistant
from homeassistant.helpers.typing import ConfigType
from . import websocket_api
from .const import DOMAIN
async def async_setup(hass: HomeAssistant, config: ConfigType) -> bool:
"""Set up Hardware."""
hass.data[DOMAIN] = {}
await websocket_api.async_setup(hass)
2022-05-25 18:39:15 +00:00
return True