Page 1 of 1

Last change on switch in blockly?

Posted: Tuesday 28 March 2017 10:00
by cyclops1982
Hi,

I've noticed that Lua allows a "device_lastupdate" variable which gives date/time of when the device was last updated.
Now, i was wondering if there is something in blockly like that?

What i would want is figure out when the last time was a switch was on, for example.... and then take an action.