Skip to content

Added wind_max_speed to sensor

Compare
Choose a tag to compare
@kalanda kalanda released this 06 Dec 19:49
· 12 commits to master since this release
2789e66

New features:

  • Added wind_max_speed to sensor.

Other code improvements:

  • Clean field reading by mapping attributes to keys from AEMET
  • Clean field reading by mapping fields to be transformed from m/s to km/h
  • Round the decimals to 1 after transforming to km/h (like in AEMET API results), to avoid floating point precision issues

Thanks to @DjMoren for the whole work in this release.