Badges missing information

I have two badge issues since the 2020 update. One is my sun icon is a blank circle and the other is a custom sensor that shows the home assistant version and available version is no longer readable due to the number of character in the version number.
How can I truncate the software version number? How can I refresh my sun icon to get the picture of the sun back?

image