|
ESPHome 2025.12.0-dev
|
#include <commands.h>
Public Member Functions | |
| SensorCfgStartCommand (bool startup_mode) | |
| uint8_t | on_message (std::string &message) override |
Public Member Functions inherited from esphome::dfrobot_sen0395::Command | |
| virtual | ~Command ()=default |
| virtual uint8_t | execute (DfrobotSen0395Component *parent) |
Protected Attributes | |
| bool | startup_mode_ |
Protected Attributes inherited from esphome::dfrobot_sen0395::Command | |
| DfrobotSen0395Component * | parent_ {nullptr} |
| std::string | cmd_ |
| bool | cmd_sent_ {false} |
| int8_t | retries_left_ {2} |
| uint32_t | cmd_duration_ms_ {1000} |
| uint32_t | timeout_ms_ {1500} |
Definition at line 75 of file commands.h.
|
inline |
Definition at line 77 of file commands.h.
|
overridevirtual |
Implements esphome::dfrobot_sen0395::Command.
Definition at line 221 of file commands.cpp.
|
protected |
Definition at line 85 of file commands.h.