mirror of
https://github.com/esphome/esphome.git
synced 2026-10-02 01:10:22 +00:00
Add the on_page_change display trigger (#1687)
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
This commit is contained in:
co-authored by
Jesse Hills
parent
cccb1a2c9e
commit
072dce340e
@@ -1874,6 +1874,12 @@ display:
|
||||
- id: page2
|
||||
lambda: |-
|
||||
// Nothing
|
||||
on_page_change:
|
||||
from: page1
|
||||
to: page2
|
||||
then:
|
||||
lambda: |-
|
||||
ESP_LOGD("display", "1 -> 2");
|
||||
- platform: ssd1306_spi
|
||||
model: 'SSD1306 128x64'
|
||||
cs_pin: GPIO23
|
||||
|
||||
Reference in New Issue
Block a user