Skip to content

Commit

Permalink
[Weather] openhab#5837 Fix OpenWeather API key failure
Browse files Browse the repository at this point in the history
Why:
* OpenWeather discontinued the FreePlan for FORECAST which now generates an API-key error as forecast is implicitly part of binding.
This Fix will remove the FORECAST call and option by simply returning nulll for the FORECASY url.

This change addresses the need by:
* return null in the FORECAST call

Signed-off-by: PtrO <[email protected]>
  • Loading branch information
ptrooms committed Mar 21, 2019
1 parent 3c258ca commit a2756a3
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,6 @@ protected String getWeatherUrl() {
*/
@Override
protected String getForecastUrl() {
return FORECAST;
return null;
}
}

0 comments on commit a2756a3

Please sign in to comment.