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] = {}
|
|
|
|
|
2022-08-31 01:45:13 +00:00
|
|
|
await websocket_api.async_setup(hass)
|
2022-05-25 18:39:15 +00:00
|
|
|
|
|
|
|
return True
|