diff --git a/app/src/main/java/nodomain/freeyourgadget/gadgetbridge/service/devices/huami/Huami2021Weather.java b/app/src/main/java/nodomain/freeyourgadget/gadgetbridge/service/devices/huami/Huami2021Weather.java index 1751652b2..7f228446d 100644 --- a/app/src/main/java/nodomain/freeyourgadget/gadgetbridge/service/devices/huami/Huami2021Weather.java +++ b/app/src/main/java/nodomain/freeyourgadget/gadgetbridge/service/devices/huami/Huami2021Weather.java @@ -59,7 +59,7 @@ public class Huami2021Weather { if (weatherSpec == null) { LOG.error("No weather in weather instance"); - return null; + return new Huami2021Weather.ErrorResponse(404, -2001, "Not found"); } switch (path) {