From 8e4cb48a57f789b6243a0a30b78aa69536464e32 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=B6nke=20K=C3=BCper?= Date: Sat, 5 Jun 2021 15:32:40 +0200 Subject: [PATCH] [ahawastecollection] Change loglevel from warn to debug (#10800) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * 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 --- .../ahawastecollection/internal/AhaWasteCollectionHandler.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 26bffeb6c..0f9bdf21a 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; }