1
0
mirror of https://github.com/home-assistant/core.git synced 2026-08-05 21:06:43 +01:00
Files
core/homeassistant/components/fan/const.py
T

20 lines
447 B
Python

"""Constants for the fan component."""
from enum import StrEnum
class FanEntityCapabilityAttribute(StrEnum):
"""Capability attributes for fan entities."""
PRESET_MODES = "preset_modes"
class FanEntityStateAttribute(StrEnum):
"""State attributes for fan entities."""
DIRECTION = "direction"
OSCILLATING = "oscillating"
PERCENTAGE = "percentage"
PERCENTAGE_STEP = "percentage_step"
PRESET_MODE = "preset_mode"