Skip to content

Commit

Permalink
Merge pull request #227 from andrewjswan/2024.4.0-Fix-for-display-Off
Browse files Browse the repository at this point in the history
2024.4.0: Fix for display Off
  • Loading branch information
lubeda authored Apr 1, 2024
2 parents c1abc70 + 21a4cb4 commit b7a09e3
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion components/ehmtxv2/EHMTX.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,11 @@ namespace esphome
{
this->show_display = false;
ESP_LOGD(TAG, "display off");
display->clear();

if (this->is_running)
{
this->display->clear();
}

for (auto *t : on_show_display_triggers_)
{
Expand Down

0 comments on commit b7a09e3

Please sign in to comment.