Skip to content

Commit

Permalink
#4 #5 - Fixing issues with library changes
Browse files Browse the repository at this point in the history
  • Loading branch information
muppet3000 committed Aug 4, 2023
1 parent f2d503f commit 56430ef
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion bin/growatt-charger.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
from statistics import mean

def get_lat_long(address):
url = 'https://nominatim.openstreetmap.org/search/' + urllib.parse.quote(address) +'?format=json'
url = 'https://nominatim.openstreetmap.org/search?q=' + urllib.parse.quote(address) +'&format=json'
response = requests.get(url).json()
return response[0]

Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
growattServer >= 1.3.0
forecast_solar
forecast_solar == 2.3.0

0 comments on commit 56430ef

Please sign in to comment.