Skip to content

Commit

Permalink
move bk
Browse files Browse the repository at this point in the history
  • Loading branch information
peterdudfield committed Dec 4, 2024
1 parent 8d5e7fc commit d97ca85
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pvconsumer/solar_sheffield_passiv.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,11 +37,11 @@ def get_all_systems_from_solar_sheffield(pv_system_ids: List[int] = None) -> pd.
"""
logger.debug("Getting all pv systems")

full_url = f"{url}sheffield_solar_static_data/table_data?user_id={user_id}&key={key}"
full_url = f"{url}owner_system_params_rounded?user_id={user_id}&key={key}"
response = requests.get(full_url)
assert (
response.status_code == 200
), f"Cant get data from {url}sheffield_solar_static_data/table_data"
), f"Cant get data from {url}owner_system_params_rounded"

data_df = raw_to_dataframe(response=response)

Expand Down

0 comments on commit d97ca85

Please sign in to comment.