Update RemoteVariable.cpp

This commit is contained in:
Siwat Sirichai 2024-02-05 23:47:53 +07:00
parent a3e9bc7be5
commit 493459618b
1 changed files with 1 additions and 1 deletions

View File

@ -27,7 +27,7 @@ void RemoteVariable::begin(size_t size, char* topic, ESPMegaIoT* iot) {
void RemoteVariable::subscribe() {
this->iot->subscribe(this->topic);
if(this->useValueRequest) {
this->publish_value_request();
this->requestValue();
}
}
char* RemoteVariable::getValue() {