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.
- 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: