I am fairly new to HA and really struggle with this. Maybe someone can help me.
I have an electricity energy sensor based on a Tasmota device. It counts high and low tariffs.
I have created a helper that sums both to a total.
Neither of the sensors can be added in the dropdown on the Energy dashboard.
The documentation says “If you are unable to select your energy sensor in the grid consumption drop-down, make sure that its value is being recorded in the Recorder settings”.
Can someone point me to that? Do I have to setup any specific recorder integration for it to work?
I have added customisation to customise.yaml for adding device_class and state_class as many here recommended:
sensor.energy_high:
unit_of_measurement: 'kWh'
device_class: energy
tariffs:
- peak
state_class: total_increasing
sensor.energy_low:
unit_of_measurement: 'kWh'
device_class: energy
tariffs:
- offpeak
state_class: total_increasing
sensor.electricity_consumption:
unit_of_measurement: 'kWh'
device_class: energy
tariffs:
- peak
- offpeak
state_class: total_increasing
thanks, Till