Aotec Home Energy Monitor 2nd Gen and scene to reset/log prior months value

Hi everyone,

I have a scene to reset the KWH variable on the 1st of the month. I would love to know how to create a PrevKWH variable and have it written to just before i reset it for the month.

Does anyone know how to do that in a scene?
Do i need to create a variable first?

Im thrilled that it supports bidirectional monitoring so i can see the wattage go negative when i generate more than i consume.

Are you already using the amazing Reactor plug-in? With it, things like this are a cinch.

Thank you! I had reactor and made a rule to set the variable! What a great tool.