From: billfor Date: Sat, 11 Nov 2023 12:45:31 +0000 (-0500) Subject: [mqtt] Add Topic Name for Incoming Payload Not Supported (#15872) X-Git-Url: https://git.basschouten.com/?a=commitdiff_plain;h=d0c70f88b3c424c1c630ce54a2608643f3fc55c7;p=openhab-addons.git [mqtt] Add Topic Name for Incoming Payload Not Supported (#15872) Signed-off-by: bill Co-authored-by: Bill Forsyth --- diff --git a/bundles/org.openhab.binding.mqtt.generic/src/main/java/org/openhab/binding/mqtt/generic/ChannelState.java b/bundles/org.openhab.binding.mqtt.generic/src/main/java/org/openhab/binding/mqtt/generic/ChannelState.java index 71bdb24ee0..607253f17b 100644 --- a/bundles/org.openhab.binding.mqtt.generic/src/main/java/org/openhab/binding/mqtt/generic/ChannelState.java +++ b/bundles/org.openhab.binding.mqtt.generic/src/main/java/org/openhab/binding/mqtt/generic/ChannelState.java @@ -192,7 +192,7 @@ public class ChannelState implements MqttMessageSubscriber { Command command = TypeParser.parseCommand(cachedValue.getSupportedCommandTypes(), strValue); if (command == null) { - logger.warn("Incoming payload '{}' not supported by type '{}'", strValue, + logger.warn("Incoming payload '{}' on '{}' not supported by type '{}'", strValue, topic, cachedValue.getClass().getSimpleName()); receivedOrTimeout(); return;