I couldn’t find a nice copypaste configuration anywhere for pulling Modbus / RS485 information from a ‘tomzn / Hiking DDS238’ energy meter anywhere, so I blogged mine with a few photos and yaml file is on github
NB - this is NOT for the built-in tuya/wifi variant, I purchased the plain rs485 version with the intention of ESPhome’ing it with other serial things in the shed.