Fixed correct parameter types of deviceAttributeChanged and variableValueChanged.
Fixed compatibility with existing plugins.
Fixed bug in time of last update.