Not able to select my device on Grid Consumption

Energy Dashboard - Sensor not showing up - Configuration - Home Assistant Community (home-assistant.io)

Usually, the entity is missing a required attribute such as the state_class.

The link above covers a few things to look for.