mirror of
https://github.com/esphome/esphome.git
synced 2025-11-08 02:51:49 +00:00
Merge branch 'integration' into memory_api
This commit is contained in:
@@ -63,7 +63,7 @@ optional<size_t> SelectCall::calculate_target_index_(const char *name) {
|
|||||||
|
|
||||||
if (this->operation_ == SELECT_OP_SET || this->operation_ == SELECT_OP_SET_INDEX) {
|
if (this->operation_ == SELECT_OP_SET || this->operation_ == SELECT_OP_SET_INDEX) {
|
||||||
if (!this->index_.has_value()) {
|
if (!this->index_.has_value()) {
|
||||||
ESP_LOGW(TAG, "'%s' - No option value set for SelectCall", name);
|
ESP_LOGW(TAG, "'%s' - No option set", name);
|
||||||
return {};
|
return {};
|
||||||
}
|
}
|
||||||
auto idx = this->index_.value();
|
auto idx = this->index_.value();
|
||||||
|
|||||||
Reference in New Issue
Block a user