simple-weather-card icon indicating copy to clipboard operation
simple-weather-card copied to clipboard

Wind Bearing state become unknown when the bearing is exactly north (i.e. bearing = 0)

Open polyfaces opened this issue 3 years ago • 0 comments

As captioned.

  get wind_bearing() {
    return this.attr.wind_bearing
      ? this.degToDirection(this.attr.wind_bearing)
      : this.toLocale('state.default.unknown');
  }

polyfaces avatar Aug 26 '21 03:08 polyfaces