Wind chill

An old thread, but my new weather station doesn’t report on wind chill. I’ve needed this in Fahrenheit, so here’s what I’ve used:

sensor:
 - platform: template
   sensors:
      #Wind Chill   https://www.weather.gov/media/epz/wxcalc/windChill.pdf
      wind_chill:
         value_template: >-
          {% if states('sensor.outdoor_temperature_2902') | float < 39.9 and states('sensor.wind_speed_2902') | float > 4.9 %}
            {{(35.74 + (0.6215 * (states('sensor.outdoor_temperature_2902') | float)) - (35.75 * (states('sensor.wind_speed_2902') | float )**0.16)
            + (0.4275 * (states('sensor.outdoor_temperature_2902') | float) * (states('sensor.wind_speed_2902') | float )**0.16)) | round(1) }}
          {% else %}
            {{ states('sensor.outdoor_temperature_2902') }}
          {% endif %}
         unit_of_measurement: '°F'
         friendly_name: 'Wind Chill'
         icon_template: 'mdi:thermometer-chevron-down'