diff --git a/esphome/components/waveshare_epaper/display.py b/esphome/components/waveshare_epaper/display.py index f7b583a52b..f4b8ac9166 100644 --- a/esphome/components/waveshare_epaper/display.py +++ b/esphome/components/waveshare_epaper/display.py @@ -160,7 +160,7 @@ DISPLAY_MODES = { "PARTIAL": DisplayMode.MODE_PARTIAL, "FULL": DisplayMode.MODE_FULL, "FAST": DisplayMode.MODE_FAST, - "GRAYSCALE4": DisplayMode.MODE_GRAYSCALE4 + "GRAYSCALE4": DisplayMode.MODE_GRAYSCALE4, } diff --git a/esphome/components/waveshare_epaper/waveshare_42v2.cpp b/esphome/components/waveshare_epaper/waveshare_42v2.cpp index 84ecbcc80b..5ff721011a 100644 --- a/esphome/components/waveshare_epaper/waveshare_42v2.cpp +++ b/esphome/components/waveshare_epaper/waveshare_42v2.cpp @@ -39,7 +39,6 @@ static const uint8_t SET_RAM_X_ADDRESS = 0x4e; // Set the Y address counter static const uint8_t SET_RAM_Y_ADDRESS = 0x4f; - static const uint8_t LUT_ALL[233] = { 0x01, 0x0A, 0x1B, 0x0F, 0x03, 0x01, 0x01, 0x05, 0x0A, 0x01, 0x0A, 0x01, 0x01, 0x01, 0x05, 0x08, 0x03, 0x02, 0x04, 0x01, 0x01, 0x01, 0x04, 0x04, 0x02, 0x00, 0x01, 0x01, 0x01, 0x00, 0x00, 0x00, 0x00, 0x01, 0x01, 0x01,