diff --git a/dist/weather-card.js b/dist/weather-card.js index 32939505..78eaeb88 100644 --- a/dist/weather-card.js +++ b/dist/weather-card.js @@ -209,7 +209,7 @@ class WeatherCard extends LitElement { ${stateObj.attributes.humidity} %
  • - ${windDirections[ + ${/^[NSEW]*$/g.test(stateObj.attributes.wind_bearing) ? stateObj.attributes.wind_bearing : windDirections[ parseInt((stateObj.attributes.wind_bearing + 11.25) / 22.5) ]} ${stateObj.attributes.wind_speed}