mirror of
https://github.com/home-assistant/core.git
synced 2026-09-23 02:03:31 +01:00
22 lines
452 B
Python
22 lines
452 B
Python
"""Constants for the remote component."""
|
|
|
|
from enum import IntFlag, StrEnum
|
|
from typing import Final
|
|
|
|
DOMAIN: Final = "remote"
|
|
|
|
|
|
class RemoteEntityStateAttribute(StrEnum):
|
|
"""State attributes for remote entities."""
|
|
|
|
ACTIVITY_LIST = "activity_list"
|
|
CURRENT_ACTIVITY = "current_activity"
|
|
|
|
|
|
class RemoteEntityFeature(IntFlag):
|
|
"""Supported features of the remote entity."""
|
|
|
|
LEARN_COMMAND = 1
|
|
DELETE_COMMAND = 2
|
|
ACTIVITY = 4
|