mirror of
https://github.com/home-assistant/core.git
synced 2026-10-10 00:08:37 -04:00
20 lines
452 B
Python
20 lines
452 B
Python
"""Constants for the input_boolean integration."""
|
|
|
|
from enum import StrEnum
|
|
from typing import TYPE_CHECKING, Final
|
|
|
|
from homeassistant.util.hass_dict import HassKey
|
|
|
|
if TYPE_CHECKING:
|
|
from . import InputBooleanData
|
|
|
|
DOMAIN: Final = "input_boolean"
|
|
|
|
DATA_INPUT_BOOLEAN: HassKey[InputBooleanData] = HassKey(DOMAIN)
|
|
|
|
|
|
class InputBooleanEntityStateAttribute(StrEnum):
|
|
"""State attributes for input boolean entities."""
|
|
|
|
EDITABLE = "editable"
|