Skip to content

Commit

Permalink
[vesync] SCA error catches (openhab#17835)
Browse files Browse the repository at this point in the history
Signed-off-by: David Goodyear <david.goodyear@gmail.com>
Signed-off-by: Ciprian Pascu <contact@ciprianpascu.ro>
  • Loading branch information
dag81 authored and Ciprian Pascu committed Jan 2, 2025
1 parent 9d8cc7e commit b9c56ac
Showing 1 changed file with 7 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,13 @@
import static org.openhab.binding.vesync.internal.dto.requests.VeSyncProtocolConstants.V2_BYPASS_ENDPOINT;

import java.time.Duration;
import java.util.*;
import java.util.ArrayList;
import java.util.Collections;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java.util.Objects;
import java.util.Optional;
import java.util.concurrent.ScheduledFuture;
import java.util.concurrent.TimeUnit;

Expand Down Expand Up @@ -555,7 +561,6 @@ protected boolean isDeviceSupported() {

public static VeSyncDeviceMetadata getDeviceFamilyMetadata(final @Nullable String deviceType,
final String deviceProtocolPrefix, final List<VeSyncDeviceMetadata> metadata) {

if (deviceType == null) {
return UNKNOWN;
}
Expand Down

0 comments on commit b9c56ac

Please sign in to comment.