Class espos::devices::SmartSwitch¶
ClassList > espos > devices > SmartSwitch
#include <espos_devices/switches.hpp>
Public Functions¶
| Type | Name |
|---|---|
| SmartSwitch (espos::flow::Graph & g, const SmartSwitchConfig & cfg) |
|
| espos::flow::Consumer< bool > & | input () |
| esp_err_t | open_error () const |
| espos::sk::Output< bool > & | output () |
| espos::sk::PutHandler< bool > & | put () |
| espos::sensors::GpioOutput & | relay () |
| bool | state () const |
Public Functions Documentation¶
function SmartSwitch¶
inline espos::devices::SmartSwitch::SmartSwitch (
espos::flow::Graph & g,
const SmartSwitchConfig & cfg
)
function input¶
function open_error¶
function output¶
function put¶
function relay¶
function state¶
The documentation for this class was generated from the following file espos_devices/include/espos_devices/switches.hpp