New "Confirm" pop-up

This also removes the sensor "NSPanel Event"
This commit is contained in:
Edward Firmo
2023-09-10 02:48:28 +02:00
parent c1bdd7da54
commit 6e65ea3d03
29 changed files with 4035 additions and 1817 deletions

View File

@@ -143,6 +143,13 @@ Variable (string) entity
Text :
Max. Text Size: 100
Variable (string) click_comp
Attributes
ID : 50
Scope : local
Text :
Max. Text Size: 8
Text current_temp
Attributes
ID : 3
@@ -612,22 +619,21 @@ Hotspot button08
Events
Touch Press Event
lastclick.txt="{\"page\": \"climate\", \"component\": \"button08\", \"value\": \"press\", \"entity\": \""+entity.txt+"\"}"
printh 92
prints "nspanelevent",0
printh 00
prints lastclick.txt,0
printh 00
printh FF FF FF
click_comp.txt="button08"
click_timer.en=1
Touch Release Event
lastclick.txt="{\"page\": \"climate\", \"component\": \"button08\", \"value\": \"release\", \"entity\": \""+entity.txt+"\"}"
printh 92
prints "nspanelevent",0
printh 00
prints lastclick.txt,0
printh 00
printh FF FF FF
if(click_timer.en==1)
{
click_timer.en=0
lastclick.txt="{\"page\": \"climate\", \"event\": \"short_click\", \"component\": \""+click_comp.txt+"\"}"
printh 92
prints "localevent",0
printh 00
prints lastclick.txt,0
printh 00
printh FF FF FF
}
Hotspot button09
Attributes
@@ -638,22 +644,21 @@ Hotspot button09
Events
Touch Press Event
lastclick.txt="{\"page\": \"climate\", \"component\": \"button09\", \"value\": \"press\", \"entity\": \""+entity.txt+"\"}"
printh 92
prints "nspanelevent",0
printh 00
prints lastclick.txt,0
printh 00
printh FF FF FF
click_comp.txt="button09"
click_timer.en=1
Touch Release Event
lastclick.txt="{\"page\": \"climate\", \"component\": \"button09\", \"value\": \"release\", \"entity\": \""+entity.txt+"\"}"
printh 92
prints "nspanelevent",0
printh 00
prints lastclick.txt,0
printh 00
printh FF FF FF
if(click_timer.en==1)
{
click_timer.en=0
lastclick.txt="{\"page\": \"climate\", \"event\": \"short_click\", \"component\": \""+click_comp.txt+"\"}"
printh 92
prints "localevent",0
printh 00
prints lastclick.txt,0
printh 00
printh FF FF FF
}
Timer swipestore
Attributes
@@ -687,6 +692,24 @@ Timer timer01
printh 00
printh FF FF FF
Timer click_timer
Attributes
ID : 51
Scope : local
Period (ms): 800
Enabled : no
Events
Timer Event
lastclick.txt="{\"page\": \"buttonpage01\", \"event\": \"long_click\", \"component\": \""+click_comp.txt+"\"}"
printh 92
prints "localevent",0
printh 00
prints lastclick.txt,0
printh 00
printh FF FF FF
click_timer.en=0
TouchCap swipe
Attributes
ID : 1