Last change on switch in blockly?
Posted: Tuesday 28 March 2017 10:00
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.
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.