Hi,
I have an Appdaemon script that scrapes the web page of my uncommunicative solar inverter. It creates 3 entities: 1x power, 2x energy.
Now I would like to add those to the energy dashboard. But for this, I need to fulfill this requirements (from Frequently Asked Questions about home energy management - Home Assistant)
device_class
must beenergy
for electricity grid, solar, or battery categories. It >must begas
for gas, orwater
for water.state_class
must betotal
ortotal_increasing
.- The sensor must have an appropriate
unit_of_measurement
. See the help text for >each category to see which units are accepted. Units containing an exponent must >match superscript characters exactly as defined, e.g.m³
is accepted,m3
is not.
How do I go about that? I’m sorry, I have no idea what to do, and I have not found documentation or examples.
I would be thankful if someone could point me at something useful.