Struct used to store the restored state of a valve.
More...
#include <valve.h>
Struct used to store the restored state of a valve.
Definition at line 65 of file valve.h.
◆ apply()
void esphome::valve::ValveRestoreState::apply |
( |
Valve * |
valve | ) |
|
Apply these settings to the valve.
Definition at line 173 of file valve.cpp.
◆ to_call()
Convert this struct to a valve call that can be performed.
Definition at line 168 of file valve.cpp.
◆ position
float esphome::valve::ValveRestoreState::position |
The documentation for this struct was generated from the following files:
- /opt/build/esphome/esphome/components/valve/valve.h
- /opt/build/esphome/esphome/components/valve/valve.cpp