mirror of
https://github.com/home-assistant/core.git
synced 2025-05-01 12:47:53 +00:00
18 lines
402 B
Python
18 lines
402 B
Python
"""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] = {}
|
|
|
|
websocket_api.async_setup(hass)
|
|
|
|
return True
|