Why can’t I add this sensor to home assistant Energy dashboard? It doesn’t show on Solar production energy (kWh) dropdown.
Running home assistant 2021.9.6 and sensor is defined like this:
template:
- sensor:
- name: solaredge_energy_this_year_template
device_class: energy
state_class: total_increasing
state: "{{ (states('sensor.solaredge_energy_this_year') | float / 1000) | round(4) }}"
unit_of_measurement: kWh
icon: "mdi:solar-power"