I may have posted my question to the wrong post, see my original link. I'm hoping that someone with a great knowledge of scripting could get me to the right direction. I have looked at the script help in HS help file but I'm still having issues understanding them. I want to get the cost of energy consumed in that month like HS shows in their energy tab.

HTML Code: