mirror of
https://codeberg.org/Freeyourgadget/Gadgetbridge.git
synced 2025-06-05 21:49:48 +02:00
Bangle.js: add condition "code" to weather JSON
Fixes #2504: Weather: support for language independent condition code or icon name
This commit is contained in:
@@ -587,6 +587,7 @@ public class BangleJSDeviceSupport 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("wdir", weatherSpec.windDirection);
|
||||
|
Reference in New Issue
Block a user