Skip to content

Commit

Permalink
Forgot winddir 10m avg. Should fix #9.
Browse files Browse the repository at this point in the history
  • Loading branch information
garbled1 committed Jul 18, 2020
1 parent 0c56110 commit 7243400
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions custom_components/ecowitt/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,7 @@
TYPE_HUMIDITY8 = "humidity8"
TYPE_HUMIDITYIN = "humidityin"
TYPE_WINDDIR = "winddir"
TYPE_WINDDIR_A10 = "winddir_avg10m"
TYPE_WINDSPEEDKMH = "windspeedkmh"
TYPE_WINDSPEEDKMH_A10 = "windspdkmh_avg10m"
TYPE_WINDGUSTKMH = "windgustkmh"
Expand Down Expand Up @@ -259,6 +260,8 @@
"mdi:water-percent", 0),
TYPE_WINDDIR: ("Wind Direction", DEGREE,
TYPE_SENSOR, None, "mdi:water-percent", 0),
TYPE_WINDDIR_A10: ("Wind Direction 10m Avg", DEGREE,
TYPE_SENSOR, None, "mdi:water-percent", 0),
TYPE_WINDSPEEDKMH: ("Wind Speed", SPEED_KILOMETERS_PER_HOUR,
TYPE_SENSOR, None, "mdi:weather-windy", S_METRIC),
TYPE_WINDSPEEDKMH_A10: ("Wind Speed 10m Avg", SPEED_KILOMETERS_PER_HOUR,
Expand Down

0 comments on commit 7243400

Please sign in to comment.