From d10ff6262ecbfb8cf05ada3059f27b87552de414 Mon Sep 17 00:00:00 2001 From: Ian Geiser Date: Tue, 15 Sep 2020 08:18:27 -0400 Subject: [PATCH] add upstream for #998 --- components/st7735/display.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/st7735/display.py b/components/st7735/display.py index 9b7c1a3..05fe06f 100644 --- a/components/st7735/display.py +++ b/components/st7735/display.py @@ -19,7 +19,7 @@ CONFIG_SCHEMA = display.FULL_DISPLAY_SCHEMA.extend({ cv.Required(CONF_DC_PIN): pins.gpio_output_pin_schema, cv.Required(CONF_CS_PIN): pins.gpio_output_pin_schema, cv.Optional(CONF_BRIGHTNESS, default=1.0): cv.percentage, -}).extend(cv.polling_component_schema('1s')).extend(spi.SPI_DEVICE_SCHEMA) +}).extend(cv.polling_component_schema('1s')).extend(spi.spi_device_schema()) def to_code(config):