Fix Home Assistant API disconnects when using st7789v display. (#1179)

This commit is contained in:
dr-oblivium 2020-07-23 23:40:30 +02:00 committed by GitHub
parent df5d03b0bc
commit 1b2de953d0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -19,7 +19,7 @@ CONFIG_SCHEMA = display.FULL_DISPLAY_SCHEMA.extend({
cv.Required(CONF_CS_PIN): pins.gpio_output_pin_schema,
cv.Required(CONF_BACKLIGHT_PIN): pins.gpio_output_pin_schema,
cv.Optional(CONF_BRIGHTNESS, default=1.0): cv.percentage,
}).extend(cv.COMPONENT_SCHEMA).extend(spi.spi_device_schema())
}).extend(cv.polling_component_schema('5s')).extend(spi.spi_device_schema())
def to_code(config):