Sonoff TH 16 Sensor help, Please

Hello, I have a few questions. I hope somebody knows the answers.

I have a Sonoff TH16 relay and temperature probe.

I’m trying to read the temperature. I live in the us and have my home set here but for some reason it displays in Celsius and not Fahrenheit. I’m not sure if i did this right but I think its close.

Putting this into the template I get.

{{(states.switch.sonoff_100114af2d.attributes.temperature)}} I get this 87.1

so I read the forums and tried this.

{{(states.switch.sonoff_100114af2d.attributes.temperature) | float * 1.8 + 32}} I get this 187.52

obviously, at times I get a very long readout ie: 187.5200000000000000

So I tried this

   diesel_heater_round:
      value_template: >-
        {{(states.switch.sonoff_100114af2d.attributes.temperature) | round(default=0)}}
   diesel_heater:
      friendly_name: "Diesel Heather Output"
      value_template: >-
        {{ (states.sensor.diesel_heater_round.state) | float * 1.8 + 32}} °F

I used this at the end, but it doesn’t take all of the .0000000’s out. Is there a better way?

Thanks for any help you could provide!