Update ratgdo_number.cpp

This commit is contained in:
Paul Wieland 2024-08-01 12:26:41 -04:00
parent 4fe42c5072
commit d3a663967b
1 changed files with 1 additions and 2 deletions

View File

@ -60,9 +60,8 @@ namespace ratgdo {
this->update_state(value); this->update_state(value);
}); });
std::string mname = "rolling_code_counter2";
// A second subscription, which seem to overwrite the first subscription // A second subscription, which seem to overwrite the first subscription
this->parent_->subscribe_rolling_code_counter([=](uint32_t value, std::string mname) { this->parent_->subscribe_rolling_code_counter([=](uint32_t value, const std::string &name = "rolling_code_counter2") {
ESP_LOGD("XXX","A second rolling code counter subscription"); ESP_LOGD("XXX","A second rolling code counter subscription");
}); });