Skip to content

Commit

Permalink
2024.4.0: Fix for display Off
Browse files Browse the repository at this point in the history
#222

Co-authored-by: popy2k14 <[email protected]>
  • Loading branch information
andrewjswan and popy2k14 committed Mar 31, 2024
1 parent 6a0818f commit 21a4cb4
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 21a4cb4

Please sign in to comment.