Ive updated to 2021.8.3 and the new energy management option did not appear in the side bar.
After looking around at the other areas I do not have this new feature at all.
So Im very confused as to why…
Ive updated to 2021.8.3 and the new energy management option did not appear in the side bar.
After looking around at the other areas I do not have this new feature at all.
So Im very confused as to why…
If you are not using default_config you have to add energy:
to your configuration.yaml file
Thank you for the info, but is that info included in the documentation?
The energy
integration was automatically added to Home Assistant (in 2021.8.0) via default_config
. If you are not using default_config
you automatically assumed the responsibility of maintaining what it does manually. If you don’t want that task, you should return to using default_config
.
And it was in the release notes under ‘all changes’
Thank you for the info.
I have had another look, but I still cant find it. However Ive got it setup know so great.
Just have to convert my esphome ct-clamp from kw to kwh
Thank you, managed to sort that out. However it does not appear in the device list in energy management???
Confused…
I had to add device_class and uom:
- platform: total_daily_energy
name: Home Total Daily Energy
power_id: home_power
id: totaldailyenergy
unit_of_measurement: kWh
accuracy_decimals: 3
icon: mdi:clock-alert
device_class: energy
Great info, which I have included but its still not showing in the list of devices???
So still confused…
What does the entity look like in dev tools/states
Sorry not very techie when it comes to some parts of Home Assistant.
The esphome file, which is a CT Clamp on an esp32 is this:
platform: adc
pin: A0
id: adc_sensor
platform: total_daily_energy
name: “Total Daily Usage”
power_id: adc_sensor
filters:
# Multiplication factor from W to kW is 0.001
- multiply: 0.001
unit_of_measurement: kWh
icon: mdi:clock-alert
device_class: energy
time:
The entity is in Home Assistant, but the new energy still does not see it???
Thanks for any help…
Sorry, get you know.
Hopefully it will be attached!!!
It’s missing last_reset and (I think) state_class to be usable in the energy panel.
I would guess that should come from ESPhome. Maybe a matter of version?
ESPhome is fully upto date. I know that the energy integration is in very early stages, but I would have thought the basic’s would be a little simpler to configure.
I will add the last_reset and state_class later on and see if that fixes it.
Thanks
Looking at esphome, it looks like the CT clamp creates a sensor in Amps, total_daily_energy
needs an input in Watts (or kW)
The ESPhome file for the CT Clamp is:
sensor:
So I must be missing something???