#include <cover.h>
Definition at line 29 of file cover.h.
◆ CoverCall()
esphome::cover::CoverCall::CoverCall |
( |
Cover * |
parent | ) |
|
◆ get_position()
const optional< float > & esphome::cover::CoverCall::get_position |
( |
| ) |
const |
◆ get_stop()
bool esphome::cover::CoverCall::get_stop |
( |
| ) |
const |
◆ get_tilt()
const optional< float > & esphome::cover::CoverCall::get_tilt |
( |
| ) |
const |
◆ get_toggle()
const optional< bool > & esphome::cover::CoverCall::get_toggle |
( |
| ) |
const |
◆ perform()
void esphome::cover::CoverCall::perform |
( |
| ) |
|
Perform the cover call.
Definition at line 75 of file cover.cpp.
◆ set_command()
CoverCall & esphome::cover::CoverCall::set_command |
( |
const char * |
command | ) |
|
Set the command as a string, "STOP", "OPEN", "CLOSE", "TOGGLE".
Definition at line 37 of file cover.cpp.
◆ set_command_close()
CoverCall & esphome::cover::CoverCall::set_command_close |
( |
| ) |
|
Set the command to close the cover.
Definition at line 55 of file cover.cpp.
◆ set_command_open()
CoverCall & esphome::cover::CoverCall::set_command_open |
( |
| ) |
|
Set the command to open the cover.
Definition at line 51 of file cover.cpp.
◆ set_command_stop()
CoverCall & esphome::cover::CoverCall::set_command_stop |
( |
| ) |
|
Set the command to stop the cover.
Definition at line 59 of file cover.cpp.
◆ set_command_toggle()
CoverCall & esphome::cover::CoverCall::set_command_toggle |
( |
| ) |
|
Set the command to toggle the cover.
Definition at line 63 of file cover.cpp.
◆ set_position()
CoverCall & esphome::cover::CoverCall::set_position |
( |
float |
position | ) |
|
Set the call to a certain target position.
Definition at line 67 of file cover.cpp.
◆ set_stop()
CoverCall & esphome::cover::CoverCall::set_stop |
( |
bool |
stop | ) |
|
Set whether this cover call should stop the cover.
Definition at line 143 of file cover.cpp.
◆ set_tilt()
CoverCall & esphome::cover::CoverCall::set_tilt |
( |
float |
tilt | ) |
|
Set the call to a certain target tilt.
Definition at line 71 of file cover.cpp.
◆ validate_()
void esphome::cover::CoverCall::validate_ |
( |
| ) |
|
|
protected |
◆ parent_
Cover* esphome::cover::CoverCall::parent_ |
|
protected |
◆ position_
optional<float> esphome::cover::CoverCall::position_ {} |
|
protected |
◆ stop_
bool esphome::cover::CoverCall::stop_ {false} |
|
protected |
◆ tilt_
optional<float> esphome::cover::CoverCall::tilt_ {} |
|
protected |
◆ toggle_
optional<bool> esphome::cover::CoverCall::toggle_ {} |
|
protected |
The documentation for this class was generated from the following files:
- /opt/build/esphome/esphome/components/cover/cover.h
- /opt/build/esphome/esphome/components/cover/cover.cpp