Electricity monitoring device

Anyone tried integrating a device’s power consumption/cost into HomeAssistant? If anyone ha ideas about hardware and import methods I would be very interested…

https://community.home-assistant.io/search?q=Energy%20monitoring