Hi I have a wifi Thermostat running a .thm script and I am tring to add GetOperating to the script but not having any luck any one see what I am doing incorrectly?
PHP Code:
Function GetOperating(device)
GetOperating = data(device, 1)
If GetOperating=True Then
Status="Running"
Else
Status="Off"
END IF
hs.WritelogEx "***3M50*WiFi***", "GetOperating:"& Status&"Test","#0000FF"
END Function
Comment