ESPHome
2024.12.2
|
Go to the source code of this file.
Data Structures | |
class | esphome::cover::CoverCall |
struct | esphome::cover::CoverRestoreState |
Struct used to store the restored state of a cover. More... | |
class | esphome::cover::Cover |
Base class for all cover devices. More... | |
Namespaces | |
esphome | |
Implementation of SPI Controller mode. | |
esphome::cover | |
Enumerations | |
enum | esphome::cover::CoverOperation : uint8_t { esphome::cover::COVER_OPERATION_IDLE = 0, esphome::cover::COVER_OPERATION_OPENING, esphome::cover::COVER_OPERATION_CLOSING } |
Enum encoding the current operation of a cover. More... | |
Functions | |
struct esphome::cover::CoverRestoreState | esphome::cover::__attribute__ ((packed)) |
CoverCall | to_call (Cover *cover) |
Convert this struct to a cover call that can be performed. More... | |
void | apply (Cover *cover) |
Apply these settings to the cover. More... | |
const char * | esphome::cover::cover_operation_to_str (CoverOperation op) |
Variables | |
float | position |
float | tilt |
enum esphome::cover::CoverOperation | esphome::cover::__attribute__ |
void __attribute__::apply | ( | Cover * | cover | ) |
Apply these settings to the cover.
CoverCall __attribute__::to_call | ( | Cover * | cover | ) |
Convert this struct to a cover call that can be performed.