diff --git a/components/ehmtxv2/EHMTX.cpp b/components/ehmtxv2/EHMTX.cpp index 41e4595..7fdc7e5 100644 --- a/components/ehmtxv2/EHMTX.cpp +++ b/components/ehmtxv2/EHMTX.cpp @@ -448,6 +448,7 @@ namespace esphome if (this->queue[i]->mode == mode) { bool force = true; + ESP_LOGW(TAG, "del_screen: icon %s in position: %d mode %d", icon_name.c_str(), i, mode); if ((mode == MODE_ICONSCREEN) || (mode == MODE_FULL_SCREEN) || (mode == MODE_RAINBOW_ICON)) { if (strcmp(this->queue[i]->icon_name.c_str(), icon_name.c_str()) != 0) @@ -457,9 +458,9 @@ namespace esphome } if (force) { + ESP_LOGW(TAG, "del_screen: force"); this->queue[i]->mode = MODE_EMPTY; this->queue[i]->endtime = 0; - ESP_LOGW(TAG, "del_screen: icon %s in position: %d mode %d", icon_name.c_str(), i, mode); if (i == this->screen_pointer) { this->next_action_time = this->clock->now().timestamp; diff --git a/components/ehmtxv2/EHMTX_queue.cpp b/components/ehmtxv2/EHMTX_queue.cpp index df19675..32c1173 100644 --- a/components/ehmtxv2/EHMTX_queue.cpp +++ b/components/ehmtxv2/EHMTX_queue.cpp @@ -26,7 +26,7 @@ namespace esphome ESP_LOGD(TAG, "queue: empty slot"); break; case MODE_BLANK: - ESP_LOGD(TAG, "queue: blank screen"); + ESP_LOGD(TAG, "queue: blank screen for %d sec", this->screen_time); break; case MODE_CLOCK: ESP_LOGD(TAG, "queue: clock for %d sec", this->screen_time);