Bump to v4.3.5
This commit is contained in:
@@ -12,6 +12,7 @@ Page home
|
||||
|
||||
Events
|
||||
Preinitialize Event
|
||||
dim=brightness
|
||||
if(boot.progress.val<100)
|
||||
{
|
||||
page boot
|
||||
@@ -40,7 +41,6 @@ Page home
|
||||
vis left_bt_text,0
|
||||
vis right_bt_text,0
|
||||
}
|
||||
vis unavailable,0
|
||||
|
||||
Variable (string) lastclick
|
||||
Attributes
|
||||
@@ -51,10 +51,10 @@ Variable (string) lastclick
|
||||
|
||||
Variable (string) click_comp
|
||||
Attributes
|
||||
ID : 39
|
||||
ID : 38
|
||||
Scope : local
|
||||
Text :
|
||||
Max. Text Size: 8
|
||||
Max. Text Size: 14
|
||||
|
||||
Text time
|
||||
Attributes
|
||||
@@ -83,6 +83,24 @@ Text indr_temp
|
||||
Text :
|
||||
Max. Text Size : 8
|
||||
|
||||
Events
|
||||
Touch Press Event
|
||||
click_comp.txt="indr_temp"
|
||||
click_timer.en=1
|
||||
|
||||
Touch Release Event
|
||||
if(click_timer.en==1)
|
||||
{
|
||||
click_timer.en=0
|
||||
lastclick.txt="{\"page\": \"home\", \"event\": \"short_click\", \"component\": \""+click_comp.txt+"\"}"
|
||||
printh 92
|
||||
prints "localevent",0
|
||||
printh 00
|
||||
prints lastclick.txt,0
|
||||
printh 00
|
||||
printh FF FF FF
|
||||
}
|
||||
|
||||
Text outdoor_temp
|
||||
Attributes
|
||||
ID : 5
|
||||
@@ -317,6 +335,24 @@ Text indr_temp_icon
|
||||
Text :
|
||||
Max. Text Size : 3
|
||||
|
||||
Events
|
||||
Touch Press Event
|
||||
click_comp.txt="indr_temp_icon"
|
||||
click_timer.en=1
|
||||
|
||||
Touch Release Event
|
||||
if(click_timer.en==1)
|
||||
{
|
||||
click_timer.en=0
|
||||
lastclick.txt="{\"page\": \"home\", \"event\": \"short_click\", \"component\": \""+click_comp.txt+"\"}"
|
||||
printh 92
|
||||
prints "localevent",0
|
||||
printh 00
|
||||
prints lastclick.txt,0
|
||||
printh 00
|
||||
printh FF FF FF
|
||||
}
|
||||
|
||||
Text bt_notific
|
||||
Attributes
|
||||
ID : 28
|
||||
@@ -430,7 +466,7 @@ Text meridiem
|
||||
|
||||
Text button01
|
||||
Attributes
|
||||
ID : 36
|
||||
ID : 35
|
||||
Scope : global
|
||||
Dragging : 0
|
||||
Send Component ID : on press and release
|
||||
@@ -458,7 +494,7 @@ Text button01
|
||||
|
||||
Text button02
|
||||
Attributes
|
||||
ID : 37
|
||||
ID : 36
|
||||
Scope : global
|
||||
Dragging : 0
|
||||
Send Component ID : on press and release
|
||||
@@ -486,7 +522,7 @@ Text button02
|
||||
|
||||
Text button03
|
||||
Attributes
|
||||
ID : 38
|
||||
ID : 37
|
||||
Scope : global
|
||||
Dragging : 0
|
||||
Send Component ID : on press and release
|
||||
@@ -514,7 +550,7 @@ Text button03
|
||||
|
||||
Text button04
|
||||
Attributes
|
||||
ID : 41
|
||||
ID : 40
|
||||
Scope : global
|
||||
Dragging : 0
|
||||
Send Component ID : on press and release
|
||||
@@ -542,7 +578,7 @@ Text button04
|
||||
|
||||
Text button05
|
||||
Attributes
|
||||
ID : 42
|
||||
ID : 41
|
||||
Scope : global
|
||||
Dragging : 0
|
||||
Send Component ID : on press and release
|
||||
@@ -570,7 +606,7 @@ Text button05
|
||||
|
||||
Text button06
|
||||
Attributes
|
||||
ID : 43
|
||||
ID : 42
|
||||
Scope : global
|
||||
Dragging : 0
|
||||
Send Component ID : on press and release
|
||||
@@ -596,19 +632,9 @@ Text button06
|
||||
printh FF FF FF
|
||||
}
|
||||
|
||||
Text unavailable
|
||||
Attributes
|
||||
ID : 44
|
||||
Scope : local
|
||||
Dragging : 0
|
||||
Send Component ID : disabled
|
||||
Associated Keyboard: none
|
||||
Text :
|
||||
Max. Text Size : 1
|
||||
|
||||
Text bt_utilities
|
||||
Attributes
|
||||
ID : 45
|
||||
ID : 43
|
||||
Scope : global
|
||||
Dragging : 0
|
||||
Send Component ID : on press and release
|
||||
@@ -625,7 +651,7 @@ Text bt_utilities
|
||||
|
||||
Text value03_icon
|
||||
Attributes
|
||||
ID : 46
|
||||
ID : 44
|
||||
Scope : global
|
||||
Dragging : 0
|
||||
Send Component ID : on press and release
|
||||
@@ -635,7 +661,7 @@ Text value03_icon
|
||||
|
||||
Text value03
|
||||
Attributes
|
||||
ID : 47
|
||||
ID : 45
|
||||
Scope : global
|
||||
Dragging : 0
|
||||
Send Component ID : on press and release
|
||||
@@ -643,6 +669,23 @@ Text value03
|
||||
Text :
|
||||
Max. Text Size : 30
|
||||
|
||||
Text bt_icon
|
||||
Attributes
|
||||
ID : 46
|
||||
Scope : global
|
||||
Dragging : 0
|
||||
Send Component ID : on press and release
|
||||
Associated Keyboard: none
|
||||
Text :
|
||||
Max. Text Size : 5
|
||||
|
||||
Events
|
||||
Touch Press Event
|
||||
settings_timer.en=1
|
||||
|
||||
Touch Release Event
|
||||
settings_timer.en=0
|
||||
|
||||
Picture weather
|
||||
Attributes
|
||||
ID : 7
|
||||
@@ -652,9 +695,20 @@ Picture weather
|
||||
|
||||
Events
|
||||
Touch Press Event
|
||||
if(api==1)
|
||||
click_comp.txt="weather"
|
||||
click_timer.en=1
|
||||
|
||||
Touch Release Event
|
||||
if(click_timer.en==1)
|
||||
{
|
||||
page weather01
|
||||
click_timer.en=0
|
||||
lastclick.txt="{\"page\": \"home\", \"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
|
||||
@@ -680,32 +734,9 @@ Timer settings_timer
|
||||
Timer Event
|
||||
page settings
|
||||
|
||||
Timer wakeup_timer
|
||||
Attributes
|
||||
ID : 35
|
||||
Scope : local
|
||||
Period (ms): 50
|
||||
Enabled : yes
|
||||
|
||||
Events
|
||||
Timer Event
|
||||
if(dim<brightness)
|
||||
{
|
||||
dimdelta=brightness-dim
|
||||
dimdelta/=25
|
||||
if(dimdelta<1)
|
||||
{
|
||||
dimdelta=1
|
||||
}
|
||||
dim+=dimdelta
|
||||
}else
|
||||
{
|
||||
wakeup_timer.en=0
|
||||
}
|
||||
|
||||
Timer click_timer
|
||||
Attributes
|
||||
ID : 40
|
||||
ID : 39
|
||||
Scope : local
|
||||
Period (ms): 800
|
||||
Enabled : no
|
||||
@@ -730,7 +761,7 @@ TouchCap swipe
|
||||
Events
|
||||
Touch Press Event
|
||||
swipestore.en=1 // Start swipestore timer
|
||||
wakeup_timer.en=1 // Set brightness to saved value (from HA)
|
||||
dim=brightness // Set brightness to saved value (from HA)
|
||||
|
||||
Touch Release Event
|
||||
if(api==0)
|
||||
|
||||
Reference in New Issue
Block a user