mirror of
https://codeberg.org/Freeyourgadget/Gadgetbridge
synced 2025-02-18 05:17:08 +01:00
Mijia LYWSD02: Add support for LYWSD02MMC
This commit is contained in:
parent
1cd795f95a
commit
f4af55d622
@ -40,7 +40,7 @@ public class MijiaLywsd02Coordinator extends AbstractBLEDeviceCoordinator {
|
||||
@Override
|
||||
public DeviceType getSupportedType(GBDeviceCandidate candidate) {
|
||||
String name = candidate.getName();
|
||||
if (name != null && name.equals("LYWSD02")) {
|
||||
if (name != null && (name.equals("LYWSD02") || name.equals("LYWSD02MMC"))) {
|
||||
return DeviceType.MIJIA_LYWSD02;
|
||||
}
|
||||
return DeviceType.UNKNOWN;
|
||||
|
Loading…
x
Reference in New Issue
Block a user