Home buttons new format - Alarm
Modernise the button Alarm flow on page Home to improve performance.
This commit is contained in:
@@ -23,6 +23,7 @@ Page home
|
||||
printh FF FF FF
|
||||
vis button06_icon,0
|
||||
vis button06,0
|
||||
vis bt_alarm,is_alarm
|
||||
|
||||
Variable (int32) brightness
|
||||
Attributes
|
||||
@@ -50,14 +51,14 @@ Variable (int32) sleepmodus
|
||||
|
||||
Variable (string) lastclick
|
||||
Attributes
|
||||
ID : 54
|
||||
ID : 53
|
||||
Scope : local
|
||||
Text :
|
||||
Max. Text Size: 100
|
||||
|
||||
Variable (string) entity
|
||||
Attributes
|
||||
ID : 55
|
||||
ID : 54
|
||||
Scope : global
|
||||
Text :
|
||||
Max. Text Size: 100
|
||||
@@ -362,7 +363,7 @@ Text button06_icon
|
||||
Text :
|
||||
Max. Text Size : 10
|
||||
|
||||
Text button07_icon
|
||||
Text bt_alarm
|
||||
Attributes
|
||||
ID : 44
|
||||
Scope : global
|
||||
@@ -372,9 +373,17 @@ Text button07_icon
|
||||
Text :
|
||||
Max. Text Size : 10
|
||||
|
||||
Events
|
||||
Touch Release Event
|
||||
if(api==1)
|
||||
{
|
||||
entity.txt=""
|
||||
page alarm
|
||||
}
|
||||
|
||||
Text meridiem
|
||||
Attributes
|
||||
ID : 53
|
||||
ID : 52
|
||||
Scope : global
|
||||
Dragging : 0
|
||||
Send Component ID : disabled
|
||||
@@ -554,24 +563,9 @@ Hotspot button06
|
||||
page entitypage01
|
||||
}
|
||||
|
||||
Hotspot button07
|
||||
Attributes
|
||||
ID : 51
|
||||
Scope : local
|
||||
Dragging : 0
|
||||
Send Component ID: disabled
|
||||
|
||||
Events
|
||||
Touch Release Event
|
||||
if(api==1)
|
||||
{
|
||||
entity.txt=""
|
||||
page alarm
|
||||
}
|
||||
|
||||
Hotspot settings_click
|
||||
Attributes
|
||||
ID : 52
|
||||
ID : 51
|
||||
Scope : local
|
||||
Dragging : 0
|
||||
Send Component ID: disabled
|
||||
@@ -627,7 +621,7 @@ Timer sleeptimer
|
||||
|
||||
Timer settings_timer
|
||||
Attributes
|
||||
ID : 56
|
||||
ID : 55
|
||||
Scope : local
|
||||
Period (ms): 1000
|
||||
Enabled : no
|
||||
|
||||
Reference in New Issue
Block a user