- Code: Select all
if int(status)==4 or int(status)==84:
self.tempList[sensor].updateStateOnServer(key=u"lastAlarm", value=time.strftime('%Y/%m/%d %H:%M:%S'))
I replaced the 4 with a 2 and it works for me, but it might break it for others, is it dependent on the type of security device ? aren't all using the same protocol ?
Patrick