Skip to content

Commit

Permalink
Fix wind_direction to wind_deg
Browse files Browse the repository at this point in the history
  • Loading branch information
BJReplay committed Jan 8, 2023
1 parent 694475a commit 050a2a8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion weather/contrib/ecowitt/server.py
Original file line number Diff line number Diff line change
Expand Up @@ -380,7 +380,7 @@ def do_GET(self):
message = json.dumps(result)
elif self.path == '/wind':
result["wind_speed"] = weather['wind_speed']
result["wind_direction"] = weather['wind_direction']
result["wind_deg"] = weather['wind_deg']
result["wind_gust"] = weather['wind_gust']
message = json.dumps(result)
elif self.path == '/solar':
Expand Down

0 comments on commit 050a2a8

Please sign in to comment.