Rule for storing total consumption on power loss in proxy item

See my reply in you original post.