Imported sensor wont recognize device class

I recently did a complete tear down of my old HA instance and built a new one. The new HA instance automatically recognized some ESPHome multi-sensors I previously had that were still on and connected to the wifi. 2 of the 3 temperature sensors did not have a device class and showed the temperature in Celsius. I created a customize.yaml to add the device class and unit of measurement but they are still not showing up. I do see the device class and new unit of measurement but the sensor output is still celsius. Here are some screenshots:

Any help would be greatly appreciated!

I could only put one image in the first post so here are the others: