core/homeassistant/helpers/service_info/hassio.py

17 lines
328 B
Python

"""Hassio Discovery data."""
from dataclasses import dataclass
from typing import Any
from homeassistant.data_entry_flow import BaseServiceInfo
@dataclass(slots=True)
class HassioServiceInfo(BaseServiceInfo):
"""Prepared info from hassio entries."""
config: dict[str, Any]
name: str
slug: str
uuid: str