Local Tuya device attribute missing

Hi all, yet another newbie with stupid questions so apologies in advance.
I have an energy meter integrated via Tuya but it doesn’t update correctly in the Energy dashboard. After doing some reading I figured it would be more reliable to integrate the device via Local Tuya instead. However, when I add the device it doesn’t appear in the Energy dashboard. after further investigation I think it’s because the “state_class: total_increasing” attribute is missing. Can I add this attribute manually (and if so how/where) or do I need to ask the Local Tuya developers to add it?