Reading power usage from a Tuya device

I have a Tuya WiFi switch which I want to use to track the times my boiler is running. In the Tuya app I can see how much energy was used per hour during the day , although I cannot see any finer resolution than this (e.g. every minute, or 5 minutes), which I would really like. But in HA via the Tuya integration I can only see a switch. How do I see the energy usage in HA?

Thank you - Rowan