]> git.basschouten.com Git - openhab-addons.git/commitdiff
Fixes #10939: Remove excessive log statements for unknown ApplicationGroups (#11433)
authorRouven Schürch <803221+ardanedh@users.noreply.github.com>
Sun, 24 Oct 2021 19:35:23 +0000 (21:35 +0200)
committerGitHub <noreply@github.com>
Sun, 24 Oct 2021 19:35:23 +0000 (21:35 +0200)
Signed-off-by: Rouven Schürch <r.schuerch@gmx.ch>
bundles/org.openhab.binding.digitalstrom/src/main/java/org/openhab/binding/digitalstrom/internal/lib/structure/devices/impl/DeviceImpl.java

index 5d7f937680807cc13d1f585413bbefd9f9511ea0..ccec7c0a566b937b2b4cbd6521f01cad0272eabd 100644 (file)
@@ -278,9 +278,7 @@ public class DeviceImpl extends AbstractGeneralDeviceInformations implements Dev
      */
     private boolean addGroupToList(Short groupID) {
         ApplicationGroup group = ApplicationGroup.getGroup(groupID);
-        if (ApplicationGroup.UNDEFINED.equals(group)) {
-            logger.warn("Unknown application group with ID '{}' found! Ignoring group", groupID);
-        } else {
+        if (!ApplicationGroup.UNDEFINED.equals(group)) {
             if (!this.groupList.contains(group)) {
                 this.groupList.add(group);
             }