mirror of
https://codeberg.org/Freeyourgadget/Gadgetbridge
synced 2024-12-25 18:15:49 +01:00
Fossil Hybrid HR: Fix weather (unit must be lower case)
This commit is contained in:
parent
977e94b359
commit
23cbc2e7f1
@ -167,7 +167,7 @@ public class QHybridCoordinator extends AbstractDeviceCoordinator {
|
||||
|
||||
@Override
|
||||
public boolean supportsWeather() {
|
||||
return false;
|
||||
return true; // FIXME: not for old Q?
|
||||
}
|
||||
|
||||
@Override
|
||||
|
@ -583,7 +583,7 @@ public class FossilHRWatchAdapter extends FossilWatchAdapter {
|
||||
.put("set", new JSONObject()
|
||||
.put("weatherInfo", new JSONObject()
|
||||
.put("alive", ts + 60 * 60)
|
||||
.put("unit", "C") // FIXME: do not hardcode
|
||||
.put("unit", "c") // FIXME: do not hardcode
|
||||
.put("temp", weatherSpec.currentTemp - 273)
|
||||
.put("cond_id", 2) // FIXME do not hardcode 2=cloudy
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user