home-assistant/custom_components/hacs/models/core.py

16 lines
253 B
Python

"""HACS Core info."""
from pathlib import Path
import attr
from ..enums import LovelaceMode
@attr.s
class HacsCore:
"""HACS Core info."""
config_path = attr.ib(Path)
ha_version = attr.ib(str)
lovelace_mode = LovelaceMode("storage")