I have the Solarman custom integration up and running on my system. But I’m having a problem with setting up the energy dashboard. When I try to enter the sensor showing my daily production I get error “The following entities have state class ‘measurement’ but ‘last_reset’ is missing”
So I tried using a different sensor, one that shows current PV production in real time but it isn’t an available option to choose from in the Energy Dashboard settings. So I tried creating a template sensor based on the real time PV production sensor so that it reports in kW instead of W but it still isn’t working. Anyone have any insight what I might be doing wrong to get this up and running?
Here’s what I see from the daily production sensor (I don’t think this is the right sensor for the Energy Dashboard though)
entity name: sensor.solarman_daily_production
Here’s what I see with the Solarman power sensor for what’s currently being generated:
entity name is: sensor.solarman_pv1_power
This was my template sensor to convert from W to kW
solarman_pv_generation:
friendly_name: 'Solar Generation'
device_class: energy
unit_of_measurement: kW
value_template: '{{ ((states.sensor.solarman_pv1_power.state|float) / 1000) | round(2) }}'