I believe you should add availability to the sensor. LIke suggested Data spikes in the Energy Dashboard - #2 by tom_l