Skip to content

Struct espos::devices::SmartSwitchConfig

ClassList > espos > devices > SmartSwitchConfig

  • #include <espos_devices/switches.hpp>

Public Attributes

Type Name
const char * id = "sw"
bool initial = false
const char * path = "electrical.switches.switch.0.state"
bool relay_active_low = false
int relay_gpio = -1

Public Attributes Documentation

variable id

const char* espos::devices::SmartSwitchConfig::id;

variable initial

bool espos::devices::SmartSwitchConfig::initial;

variable path

const char* espos::devices::SmartSwitchConfig::path;

variable relay_active_low

bool espos::devices::SmartSwitchConfig::relay_active_low;

variable relay_gpio

int espos::devices::SmartSwitchConfig::relay_gpio;


The documentation for this class was generated from the following file espos_devices/include/espos_devices/switches.hpp