Use the "- (void)setTempUnit:(NSInteger)tempUnit" method in TuyaSmartUser to change the temperature scale. Value 1 indicates Celsius (°C), and value 2 indicates Fahrenheit (°F). Other temperature scales, such as the Rankine (°R) scale, Réaumur scale, and Newton scale, are not supported. We recommend that you save the used temperature scale to userdefault.