Hi, I’ve been trying to create an entity to track my kitchen light usage in the energy dashboard. However the entity is never listed as an option when configuring the energy dashboard. I’ve waited over 24 hours but no luck. Here is my configuration:
- platform: template
sensors:
kithcen_sink_lights_power:
value_template: >
{% if is_state('switch.kitchen_sink_light', 'on') %}
7
{% else %}
0
{% endif %}
device_class: power
state_class: measurement
unit_of_measurement: 'W'
- platform: integration
name: kitchen_sink_lights_energy_usage
source: sensor.kitchen_sink_lights_power
device_class: energy
state_class: total_increasing
unit_of_measurement: kWh
unit_prefix: k
round: 6
Am I missing something?