Hello, can someone explain to me why I can’t see this sensor in the energy dashboard?
- sensor:
- name: v2
unique_id: "BalkonsolarBackToGridSensorWatts"
state_class: total_increasing
icon: mdi:transmission-tower
unit_of_measurement: kWh
device_class: energy
state: "{{states('sensor.tasmota_power_total_in') | float()}}"
thx
tom_l
April 14, 2024, 10:46am
2
Why are you duplicating sensor.tasmota_power_total_in
?
There is no need to do this if all it needs is a device and or state class. Just use customize to add these.
https://www.home-assistant.io/docs/configuration/customizing-devices/#manual-customization
because the energy dashboard only supports sensors with following settings:
The sensor.tasmota_power_total_in is not displayed in the energy dashboard because it lacks the necessary attributes.
tom_l
April 14, 2024, 11:05am
5
Which is why I told you how to fix that:
Your suggestion helps me to implement one less sensor, but it doesn’t address the issue of selecting the sensor in the energy dashboard. Now there should be two sensors to choose from.
tom_l
April 14, 2024, 1:10pm
7
It should. If you give the sensor the correct attributes.
Please share what you have done.
I don’t understand what you mean by this:
the duplicated and the customized sensor should be here.
tom_l:
It should.
And here we are back at the initial question.
And you should really read the Community Guide, if you expect people to understand what you are doing
How to help us help you - or How to ask a good question .
PS: Have you scrolled through your huge list, or used the search field ? ( Your pic shows files sorted alphabetic ! ) name: v2 , sensor:zur
1 Like
sorry, im new and im still learning. but your hint helps
So, the line with the unique_id removed, and there it is…the sensor.
ofc i scrolled… not so new.
1 Like