1
0
mirror of https://codeberg.org/Freeyourgadget/Gadgetbridge synced 2024-11-24 19:06:53 +01:00

Amazfit GTS2/GTR2: Send windspeed and sunrise/sunset

This commit is contained in:
Vianney le Clément de Saint-Marcq 2021-04-07 15:38:19 +02:00 committed by Gitea
parent c1b7ce2308
commit 12baabe3c7
2 changed files with 10 additions and 0 deletions

View File

@ -33,6 +33,11 @@ import nodomain.freeyourgadget.gadgetbridge.service.devices.huami.operations.Upd
public class AmazfitGTR2Support extends AmazfitGTRSupport {
@Override
public boolean supportsSunriseSunsetWindHumidity() {
return true;
}
@Override
public HuamiFWHelper createFWHelper(Uri uri, Context context) throws IOException {
return new AmazfitGTR2FWHelper(uri, context);

View File

@ -33,6 +33,11 @@ import nodomain.freeyourgadget.gadgetbridge.service.devices.huami.operations.Upd
public class AmazfitGTS2Support extends AmazfitGTSSupport {
@Override
public boolean supportsSunriseSunsetWindHumidity() {
return true;
}
@Override
public HuamiFWHelper createFWHelper(Uri uri, Context context) throws IOException {
return new AmazfitGTS2FWHelper(uri, context);