Hello,
I created the custom sensor from W to kWh and have add this sensor to recorder, I tried to delete history via “Recorder: Purge entities” but doesn’t work.
where am I wrong?
sensor:
- platform: integration
source: sensor.led_power
name: "led_kWh"
unit_prefix: k
round: 2
method: left
customize:
sensor.led_kWh:
friendly_name: "Led kWh"
icon: mdi:counter
last_reset: '1970-01-01T00:00:00+00:00'
device_class: energy
state_class: total_increasing
unit_of_measurement: kWh