|
ESPHome 2025.12.0-dev
|
Go to the source code of this file.
Data Structures | |
| class | esphome::fan::FanCall |
| struct | esphome::fan::FanRestoreState |
| class | esphome::fan::Fan |
Namespaces | |
| namespace | esphome |
| Providing packet encoding functions for exchanging data with a remote host. | |
| namespace | esphome::fan |
Enumerations | |
| enum class | esphome::fan::FanDirection { esphome::fan::FORWARD = 0 , esphome::fan::REVERSE = 1 } |
| Simple enum to represent the direction of a fan. More... | |
| enum class | esphome::fan::FanRestoreMode { esphome::fan::NO_RESTORE , esphome::fan::ALWAYS_OFF , esphome::fan::ALWAYS_ON , esphome::fan::RESTORE_DEFAULT_OFF , esphome::fan::RESTORE_DEFAULT_ON , esphome::fan::RESTORE_INVERTED_DEFAULT_OFF , esphome::fan::RESTORE_INVERTED_DEFAULT_ON } |
| Restore mode of a fan. More... | |
Functions | |
| const LogString * | esphome::fan::fan_direction_to_string (FanDirection direction) |
| struct esphome::fan::FanRestoreState | esphome::fan::__attribute__ ((packed)) |
| FanCall | to_call (Fan &fan) |
| Convert this struct to a fan call that can be performed. | |
| void | apply (Fan &fan) |
| Apply these settings to the fan. | |
Variables | |
| bool | state |
| int | speed |
| bool | oscillating |
| FanDirection | direction |
| uint8_t | preset_mode |
| esphome::fan::Fan | esphome::fan::__attribute__ |
| void __attribute__::apply | ( | Fan & | fan | ) |
Apply these settings to the fan.
| FanCall __attribute__::to_call | ( | Fan & | fan | ) |
Convert this struct to a fan call that can be performed.