Skip to content

Commit

Permalink
Fix for null values
Browse files Browse the repository at this point in the history
  • Loading branch information
hokiebrian committed Apr 12, 2024
1 parent 4f1ecbc commit 413b493
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions custom_components/eia_hourly_demand/config_flow.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ async def _validate_input(self, user_input):
if response.status != 200:
return False
data = await response.json()
# Not needed
# if data["response"]["total"] == 0:
# return False
except aiohttp.ClientConnectorError:
Expand Down

0 comments on commit 413b493

Please sign in to comment.