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

Add on_update trigger for Project versions (#6298)

This commit is contained in:
Jesse Hills
2024-02-28 21:01:56 +13:00
committed by GitHub
parent 5393a09872
commit 3c651f4091
4 changed files with 45 additions and 4 deletions

View File

@@ -7,6 +7,7 @@ from esphome import automation
from esphome.const import (
CONF_ON_TOUCH,
CONF_ON_RELEASE,
CONF_ON_UPDATE,
CONF_SWAP_XY,
CONF_MIRROR_X,
CONF_MIRROR_Y,
@@ -33,7 +34,6 @@ TouchListener = touchscreen_ns.class_("TouchListener")
CONF_DISPLAY = "display"
CONF_TOUCHSCREEN_ID = "touchscreen_id"
CONF_REPORT_INTERVAL = "report_interval" # not used yet:
CONF_ON_UPDATE = "on_update"
CONF_TOUCH_TIMEOUT = "touch_timeout"