All necessary information can be found in the following section of the Homey Apps SDK:
So you need virtual devices in which the values of your devices are written and which also meet the requirements of the document.
For PV modules or inverters, you can create an Advanced Virtual Device using the Device Capabilities app, f.e. Batteries are currently not supported by the DC app or an AVD, as the necessary capabilities may still be missing.
Information about how to create an AVD in general, can be found in this topic → [APP][Pro] Advanced Virtual Device (Device Capabilities App) with Unique Text Status Indicator
I’ve created a tutorial on how to write the data from a micro inverter and an OpenDTU to an AVD, whose values are then displayed in the Homey Energy Dashboard.
In the following chapter, I explain how to create and configure the AVD → Advanced Virtual Device
And in this chapter, I explain how to write the incoming data to the AVD via Flow → Flow
Maybe this will be helpful to you.