mirror of
https://codeberg.org/Freeyourgadget/Gadgetbridge.git
synced 2026-07-31 07:44:24 +02:00
Amazfit GTS2/GTR2: Send windspeed and sunrise/sunset
This commit is contained in:
committed by
Gitea
parent
c1b7ce2308
commit
12baabe3c7
+5
@@ -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);
|
||||
|
||||
+5
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user