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:
parent
c1b7ce2308
commit
12baabe3c7
@ -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);
|
||||
|
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user