I have my snmp platform finally working for my NAS, unfortunately when my disk space sensors return their value it has a “G” or a “T” affixed to the end which is preventing me from being able to get cards such as sensor cards to work correctly.
I have no use of the letter affixed to the end of the result. How can I go about removing this at home assistants end?
I don’t know if you can configure the snmp integration to show no unit of measurement, you can however create a template sensor that strips off the last letter. Use @petro’s solution.