Skip to content

Commit

Permalink
Fix bug for sensor if any events titles are the same
Browse files Browse the repository at this point in the history
  • Loading branch information
finity69x2 authored Jul 26, 2020
1 parent 3b8ea34 commit 0666436
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions custom_components/nws_alerts/sensor.py
Original file line number Diff line number Diff line change
Expand Up @@ -190,8 +190,8 @@ async def async_get_alerts(self):
description = alert['properties']['description']
instruction = alert['properties']['instruction']

if event in events:
continue
#if event in events:
# continue

events.append(event)
headlines.append(headline)
Expand Down

0 comments on commit 0666436

Please sign in to comment.