Skip to content

Commit

Permalink
remove foggy state
Browse files Browse the repository at this point in the history
  • Loading branch information
siku2 committed May 16, 2021
1 parent cdb5fba commit 66d85af
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions custom_components/weatherlink/weather.py
Original file line number Diff line number Diff line change
Expand Up @@ -76,9 +76,6 @@ def condition(self):
if c.wind_speed_avg_last_2_min > 20:
return "windy"

if c.hum > 85:
return "fog"

if state := self.hass.states.get("sun.sun"):
if state.state == "below_horizon":
return "clear-night"
Expand Down

0 comments on commit 66d85af

Please sign in to comment.