@@ -44,7 +44,7 @@ Variable (string) lastclick
|
||||
Text :
|
||||
Max. Text Size: 100
|
||||
|
||||
Variable (string) entity
|
||||
Variable (string) climate_entity
|
||||
Attributes
|
||||
ID : 46
|
||||
Scope : global
|
||||
@@ -383,7 +383,6 @@ Text bt_alarm
|
||||
Touch Release Event
|
||||
if(api==1)
|
||||
{
|
||||
entity.txt=""
|
||||
page alarm
|
||||
}
|
||||
|
||||
@@ -447,7 +446,7 @@ Hotspot jump_climate
|
||||
|
||||
Events
|
||||
Touch Press Event
|
||||
if(entity.txt=="")
|
||||
if(climate_entity.txt=="")
|
||||
{
|
||||
lastclick.txt="{\"page\": \"home\", \"component\": \"climate\", \"value\": \"press\"}"
|
||||
printh 92
|
||||
@@ -458,11 +457,12 @@ Hotspot jump_climate
|
||||
printh FF FF FF
|
||||
}else
|
||||
{
|
||||
climate.entity.txt=climate_entity.txt
|
||||
page climate
|
||||
}
|
||||
|
||||
Touch Release Event
|
||||
if(entity.txt=="")
|
||||
if(climate_entity.txt=="")
|
||||
{
|
||||
lastclick.txt="{\"page\": \"home\", \"component\": \"climate\", \"value\": \"release\"}"
|
||||
printh 92
|
||||
|
||||
Reference in New Issue
Block a user