ESPHome  2024.10.2
Public Member Functions
esphome::dfrobot_sen0395::ResetSystemCommand Class Reference

#include <commands.h>

Inheritance diagram for esphome::dfrobot_sen0395::ResetSystemCommand:
esphome::dfrobot_sen0395::Command

Public Member Functions

 ResetSystemCommand ()
 
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)
 

Additional Inherited Members

- Protected Attributes inherited from esphome::dfrobot_sen0395::Command
DfrobotSen0395Componentparent_ {nullptr}
 
std::string cmd_
 
bool cmd_sent_ {false}
 
int8_t retries_left_ {2}
 
uint32_t cmd_duration_ms_ {1000}
 
uint32_t timeout_ms_ {1500}
 

Detailed Description

Definition at line 94 of file commands.h.

Constructor & Destructor Documentation

◆ ResetSystemCommand()

esphome::dfrobot_sen0395::ResetSystemCommand::ResetSystemCommand ( )
inline

Definition at line 96 of file commands.h.

Member Function Documentation

◆ on_message()

uint8_t esphome::dfrobot_sen0395::ResetSystemCommand::on_message ( std::string &  message)
overridevirtual

Implements esphome::dfrobot_sen0395::Command.

Definition at line 251 of file commands.cpp.


The documentation for this class was generated from the following files: