]> git.basschouten.com Git - openhab-addons.git/commitdiff
Fix Nuvo Grand Concerto Detection (#12613)
authorboc-tothefuture <broconne+github@gmail.com>
Sun, 24 Apr 2022 07:14:24 +0000 (03:14 -0400)
committerGitHub <noreply@github.com>
Sun, 24 Apr 2022 07:14:24 +0000 (09:14 +0200)
Signed-off-by: Brian OConnell <broconne@gmail.com>
bundles/org.openhab.binding.nuvo/src/main/java/org/openhab/binding/nuvo/internal/handler/NuvoHandler.java

index b972174a92b556a27f483b64cd7d0318593f5926..c1e73396845309c3758675945b50c04213b66abf 100644 (file)
@@ -96,7 +96,7 @@ public class NuvoHandler extends BaseThingHandler implements NuvoMessageEventLis
     private static final String SOURCE = "SOURCE";
     private static final String CHANNEL_DELIMIT = "#";
     private static final String UNDEF = "UNDEF";
-    private static final String GC_STR = "NV-IG8";
+    private static final String GC_STR = "NV-I8G";
 
     private static final int MAX_ZONES = 20;
     private static final int MAX_SRC = 6;
@@ -471,8 +471,11 @@ public class NuvoHandler extends BaseThingHandler implements NuvoMessageEventLis
                 this.versionString = updateData;
                 // Determine if we are a Grand Concerto or not
                 if (this.versionString.contains(GC_STR)) {
+                    logger.debug("Grand Concerto detected");
                     this.isGConcerto = true;
                     connector.setEssentia(false);
+                } else {
+                    logger.debug("Grand Concerto not detected");
                 }
                 break;
             case TYPE_PING: