1
0
mirror of https://codeberg.org/Freeyourgadget/Gadgetbridge synced 2024-12-26 18:45:49 +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); LOG.error("Error sending current weather", ex);
} }
if (gbDevice.getType() == DeviceType.AMAZFITBIP) {
try { try {
TransactionBuilder builder; TransactionBuilder builder;
builder = performInitialized("Sending air quality index"); builder = performInitialized("Sending air quality index");
@ -205,6 +206,7 @@ public class AmazfitBipSupport extends MiBand2Support {
} catch (IOException ex) { } catch (IOException ex) {
LOG.error("Error sending air quality"); LOG.error("Error sending air quality");
} }
}
try { try {
TransactionBuilder builder = performInitialized("Sending weather forecast"); TransactionBuilder builder = performInitialized("Sending weather forecast");