Trouble with adding ENERGY individual devices - Help please

Toying with the Energy platform.
I’ve set up many energy and power entities.
Now the odd thing is all are identical as far as I can see but only 2 show on the drop-down of add device option in Configuration>Energy.
1 shows and the other doesn’t. Have about 12 set up in total under sensors. Got Utility meter working fin just to add.

image

image

  - platform: template
    sensors:
          fronthouse_light_power:
              friendly_name: "Fronthouse Light Power"
              unit_of_measurement: 'W'
              value_template: >
                  {% if is_state('switch.065354185002914ac44e_2_2', 'on') %}
                      14
                    {% else %}
                      0
                  {% endif %}    
  - platform: integration
    source: sensor.fronthouse_light_power
    name: fronthouse_light_energy
    unit_prefix: k
    round: 2   

Only these 2 show out of all of them:

image

If you add the device_class: power to your sensor templates, the integration will automagically add the device_class: energy to the result, and they should show up as an energy device.

In case this isn’t clear to anyone else!

  • To find the Energy Config panel, look under: Settings - Dashboards - Energy
  • For sensors to show in the Individual devices list, they must have ‘device_class: energy’