Merge pull request #1207 from Dougal19/master

Support added for H3 watch strap
This commit is contained in:
Carsten Pfeiffer
2018-08-16 23:54:33 +02:00
committed by GitHub
@@ -63,7 +63,7 @@ public class TeclastH30Coordinator extends AbstractDeviceCoordinator {
@Override
public DeviceType getSupportedType(GBDeviceCandidate candidate) {
String name = candidate.getDevice().getName();
if (name != null && (name.startsWith("TECLAST_H30") || name.startsWith("TECLAST_H10"))) {
if (name != null && (name.startsWith("TECLAST_H30") || name.startsWith("TECLAST_H10") || name.startsWith("H3-0DE7"))) {
return DeviceType.TECLASTH30;
}
return DeviceType.UNKNOWN;