Move notification buttons engine to ESPHome

Solves #1881
Improves #1501
This commit is contained in:
Edward Firmo
2024-03-11 22:20:36 +01:00
parent 1045ce1860
commit e39489e6ad
10 changed files with 30 additions and 83 deletions

View File

@@ -101,7 +101,7 @@ Text tft_version
Dragging : 0
Send Component ID : on press and release
Associated Keyboard: none
Text : 4.3.0b2
Text : 4.3.0b3
Max. Text Size : 9
Text esph_version

View File

@@ -80,16 +80,6 @@ Button bt_accept
Text : î— 
Max. Text Size : 3
Events
Touch Release Event
lastclick.txt="{\"page\": \"notification\", \"component\": \"accept\", \"value\": \"release\"}"
printh 92
prints "nspanelevent",0
printh 00
prints lastclick.txt,0
printh 00
printh FF FF FF
Button bt_clear
Attributes
ID : 8
@@ -100,16 +90,6 @@ Button bt_clear
Text : î…™
Max. Text Size : 10
Events
Touch Release Event
lastclick.txt="{\"page\": \"notification\", \"component\": \"clear\", \"value\": \"release\"}"
printh 92
prints "nspanelevent",0
printh 00
prints lastclick.txt,0
printh 00
printh FF FF FF
Timer swipestore
Attributes
ID : 4