]> git.basschouten.com Git - openhab-addons.git/commitdiff
[ahawastecollection] Change loglevel from warn to debug (#10800)
authorSönke Küper <soenkekueper@outlook.de>
Sat, 5 Jun 2021 13:32:40 +0000 (15:32 +0200)
committerGitHub <noreply@github.com>
Sat, 5 Jun 2021 13:32:40 +0000 (15:32 +0200)
* 10786: Changed loglevel from warn to debug

Signed-off-by: Sönke Küper <soenkekueper@gmx.de>
* 10786: Spotless fix

Signed-off-by: Sönke Küper <soenkekueper@gmx.de>
Co-authored-by: Sönke Küper <soenkekueper@gmx.de>
bundles/org.openhab.binding.ahawastecollection/src/main/java/org/openhab/binding/ahawastecollection/internal/AhaWasteCollectionHandler.java

index 26bffeb6c002eef3bcd07df917c6e783290164ae..0f9bdf21a0bceeca55daad1bc214eca2fe4a3512 100644 (file)
@@ -175,11 +175,12 @@ public class AhaWasteCollectionHandler extends BaseThingHandler {
      */
     private void updateChannels(final Map<WasteType, CollectionDate> collectionDates) {
         for (final Channel channel : this.getThing().getChannels()) {
+
             final WasteType wasteType = getWasteTypeByChannel(channel.getUID().getId());
 
             final CollectionDate collectionDate = collectionDates.get(wasteType);
             if (collectionDate == null) {
-                this.logger.warn("No collection dates found for waste type: {}", wasteType);
+                this.logger.debug("No collection dates found for waste type: {}", wasteType);
                 continue;
             }