As i needed something similar, i created a small integration which should get all interfaces from snmp:
maybe this make work a little bit easier as you now could simply use the generated sensors for you utility meters.