Temp and humidity sensor not working

Hello I have the older Sonoff switches that use the temp and humidity sensors with the latest up date they will not work luckily they have the.program settings saved to them is there a fix for this. I have light’s and a heater running off of these.