|
ESPHome 2026.11.0-dev
|
Data Structures | |
| class | CycleSpeedAction |
| class | Fan |
| class | FanCall |
| class | FanDirectionSetTrigger |
| class | FanOscillatingSetTrigger |
| class | FanPresetSetTrigger |
| struct | FanRestoreState |
| class | FanSpeedSetTrigger |
| class | FanTraits |
| class | FanTurnOffTrigger |
| class | FanTurnOnTrigger |
Typedefs | |
| using | FanPresetModes = ConstVector<const char *, true> |
| Preset modes: a flash table from codegen, or an owned copy set at runtime. | |
Enumerations | |
| enum class | FanDirection { FORWARD = 0 , REVERSE = 1 } |
| Simple enum to represent the direction of a fan. More... | |
| enum class | FanRestoreMode { NO_RESTORE , ALWAYS_OFF , ALWAYS_ON , RESTORE_DEFAULT_OFF , RESTORE_DEFAULT_ON , RESTORE_INVERTED_DEFAULT_OFF , RESTORE_INVERTED_DEFAULT_ON } |
| Restore mode of a fan. More... | |
Functions | |
| ESPHOME_LOG_TAG (TAG, "fan") | |
| PROGMEM_STRING_TABLE (FanDirectionStrings, "FORWARD", "REVERSE", "UNKNOWN") | |
| const LogString * | fan_direction_to_string (FanDirection direction) |
| struct esphome::fan::FanRestoreState | __attribute__ ((packed)) |
Variables | |
| constexpr uint32_t | RESTORE_STATE_VERSION = 0x71700ABB |
| esphome::fan::Fan | __attribute__ |
| using esphome::fan::FanPresetModes = ConstVector<const char *, true> |
Preset modes: a flash table from codegen, or an owned copy set at runtime.
Definition at line 12 of file fan_traits.h.
|
strong |
|
strong |
| struct esphome::fan::FanRestoreState esphome::fan::__attribute__ | ( | (packed) | ) |
| esphome::fan::ESPHOME_LOG_TAG | ( | TAG | , |
| "fan" | ) |
| const LogString * esphome::fan::fan_direction_to_string | ( | FanDirection | direction | ) |
| esphome::fan::PROGMEM_STRING_TABLE | ( | FanDirectionStrings | , |
| "FORWARD" | , | ||
| "REVERSE" | , | ||
| "UNKNOWN" | ) |
| esphome::fan::Fan esphome::fan::__attribute__ |