1
0
mirror of https://codeberg.org/Freeyourgadget/Gadgetbridge synced 2024-12-26 10:35:50 +01:00

Only send dummy AQI to Bip, not to Cor

See #1033
This commit is contained in:
Andreas Shimokawa 2018-03-24 19:28:06 +01:00
parent cce53400f0
commit 41632b8eb3

View File

@ -182,6 +182,7 @@ public class AmazfitBipSupport extends MiBand2Support {
LOG.error("Error sending current weather", ex);
}
if (gbDevice.getType() == DeviceType.AMAZFITBIP) {
try {
TransactionBuilder builder;
builder = performInitialized("Sending air quality index");
@ -205,6 +206,7 @@ public class AmazfitBipSupport extends MiBand2Support {
} catch (IOException ex) {
LOG.error("Error sending air quality");
}
}
try {
TransactionBuilder builder = performInitialized("Sending weather forecast");