Skip to content

Commit

Permalink
Update __init__.py
Browse files Browse the repository at this point in the history
  • Loading branch information
finity69x2 authored Aug 4, 2024
1 parent e3c6497 commit f9c6807
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions custom_components/nws_alerts/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -192,6 +192,7 @@ async def async_get_state(config, coords) -> dict:
"message_type": None,
"event_status": None,
"event_severity": None,
"event_sent": None,
"event_onset": None,
"event_expires": None,
"display_desc": None,
Expand Down Expand Up @@ -276,6 +277,7 @@ async def async_get_alerts(zone_id: str = "", gps_loc: str = "") -> dict:
tmp_dict["Status"] = alert["properties"]["status"]
tmp_dict["Severity"] = alert["properties"]["severity"]
tmp_dict["Certainty"] = alert["properties"]["certainty"]
tmp_dict["Sent"] = alert["properties"]["sent"]
tmp_dict["Onset"] = alert["properties"]["onset"]
tmp_dict["Expires"] = alert["properties"]["expires"]
tmp_dict["Description"] = alert["properties"]["description"]
Expand Down

0 comments on commit f9c6807

Please sign in to comment.