Is it currently possible to use a device attribute with global variables? Say rain fall from the weather app. Add it to rainfall_lastweek. And add delayed event to subtract it a week later.
Add them together and then do what? Set it to another variable? An attribute?
No, it is not possible to do this.