* Remove hassio from ALLOWED_USED_COMPONENTS * Move HassioServiceInfo to helpers.service_info * Deprecate moved functions * Add note about deprecation * Fix tests * Implement suggestion * Typo * Update pyproject.toml Co-authored-by: epenet <6771947+epenet@users.noreply.github.com> --------- Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>
16 lines
328 B
Python
16 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
|