homeassistant/custom_components/hacs/models/core.py

15 lines
252 B
Python
Raw Normal View History

"""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")