From: Sönke Küper Date: Sat, 5 Jun 2021 13:32:40 +0000 (+0200) Subject: [ahawastecollection] Change loglevel from warn to debug (#10800) X-Git-Url: https://git.basschouten.com/?a=commitdiff_plain;h=8e4cb48a57f789b6243a0a30b78aa69536464e32;p=openhab-addons.git [ahawastecollection] Change loglevel from warn to debug (#10800) * 10786: Changed loglevel from warn to debug Signed-off-by: Sönke Küper * 10786: Spotless fix Signed-off-by: Sönke Küper Co-authored-by: Sönke Küper --- diff --git a/bundles/org.openhab.binding.ahawastecollection/src/main/java/org/openhab/binding/ahawastecollection/internal/AhaWasteCollectionHandler.java b/bundles/org.openhab.binding.ahawastecollection/src/main/java/org/openhab/binding/ahawastecollection/internal/AhaWasteCollectionHandler.java index 26bffeb6c0..0f9bdf21a0 100644 --- a/bundles/org.openhab.binding.ahawastecollection/src/main/java/org/openhab/binding/ahawastecollection/internal/AhaWasteCollectionHandler.java +++ b/bundles/org.openhab.binding.ahawastecollection/src/main/java/org/openhab/binding/ahawastecollection/internal/AhaWasteCollectionHandler.java @@ -175,11 +175,12 @@ public class AhaWasteCollectionHandler extends BaseThingHandler { */ private void updateChannels(final Map 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; }