mirror of
https://codeberg.org/Freeyourgadget/Gadgetbridge
synced 2024-07-22 06:41:06 +02:00
WaspOS: add condition code to weather JSON
This commit is contained in:
parent
1e6cde6790
commit
ed1836a2bd
|
@ -493,6 +493,7 @@ public class WaspOSDeviceSupport extends AbstractBTLEDeviceSupport {
|
|||
o.put("t", "weather");
|
||||
o.put("temp", weatherSpec.currentTemp);
|
||||
o.put("hum", weatherSpec.currentHumidity);
|
||||
o.put("code", weatherSpec.currentConditionCode);
|
||||
o.put("txt", weatherSpec.currentCondition);
|
||||
o.put("wind", weatherSpec.windSpeed);
|
||||
o.put("loc", weatherSpec.location);
|
||||
|
|
Loading…
Reference in New Issue
Block a user