homeassistant/custom_components/hacs/models/system.py

16 lines
298 B
Python
Raw Permalink Normal View History

"""HACS System info."""
import attr
from ..enums import HacsStage
from ..const import VERSION
@attr.s
class HacsSystem:
"""HACS System info."""
disabled: bool = False
running: bool = False
version: str = VERSION
stage: HacsStage = attr.ib(HacsStage)
action: bool = False