Map unknown attribute of a NEO coolcam smart plug to new HA entities

Hi,
I recently got a Matter plug from Tuya manufactured by NEO coolcam. I successfully added the plug to HA, and the on/off function works flawlessly. However, the plug also has power metering integrated. I found the corresponding attributes (voltage, current, power) in a custom endpoint in the Matter server. Now, I would like to map these currently unknown attributes to corresponding entities in HA.

However, I have not found any advice on how to proceed with this. Has anybody experienced a similar problem?

The solution is a following: