Fix bug on rfxcom
Improvement energy plugin