1
0
mirror of https://github.com/esphome/esphome.git synced 2025-10-27 21:23:48 +00:00

Refactor xpt2046 to be a touchscreen platform (#3793)

This commit is contained in:
NP v/d Spek
2022-10-10 23:10:22 +02:00
committed by GitHub
parent 786c8b6cfe
commit 3c2766448d
8 changed files with 248 additions and 334 deletions

View File

@@ -13,7 +13,7 @@ _LOGGER = logging.getLogger(__name__)
DEPENDENCIES = ["display"]
MULTI_CONF = True
Animation_ = display.display_ns.class_("Animation")
Animation_ = display.display_ns.class_("Animation", espImage.Image_)
ANIMATION_SCHEMA = cv.Schema(
{