From ffdcddc18ea2b98752983eb1f258309f83501a4e Mon Sep 17 00:00:00 2001 From: Otto Winter Date: Sat, 29 Sep 2018 14:50:14 +0200 Subject: [PATCH] Add SSD1306 64x48 display (#136) --- esphomeyaml/components/display/ssd1306_spi.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/esphomeyaml/components/display/ssd1306_spi.py b/esphomeyaml/components/display/ssd1306_spi.py index cc9fab724a..b08e0a3b00 100644 --- a/esphomeyaml/components/display/ssd1306_spi.py +++ b/esphomeyaml/components/display/ssd1306_spi.py @@ -18,9 +18,11 @@ MODELS = { 'SSD1306_128X32': display.display_ns.SSD1306_MODEL_128_32, 'SSD1306_128X64': display.display_ns.SSD1306_MODEL_128_64, 'SSD1306_96X16': display.display_ns.SSD1306_MODEL_96_16, + 'SSD1306_64X48': display.display_ns.SSD1306_MODEL_64_48, 'SH1106_128X32': display.display_ns.SH1106_MODEL_128_32, 'SH1106_128X64': display.display_ns.SH1106_MODEL_128_64, 'SH1106_96X16': display.display_ns.SH1106_MODEL_96_16, + 'SH1106_64X48': display.display_ns.SH1106_MODEL_64_48, } SSD1306_MODEL = vol.All(vol.Upper, vol.Replace(' ', '_'), cv.one_of(*MODELS))