Can't configure template sensor in energy dashboard

This is also mentioned in this feature request (please vote :wink: )