From d0c70f88b3c424c1c630ce54a2608643f3fc55c7 Mon Sep 17 00:00:00 2001 From: billfor Date: Sat, 11 Nov 2023 07:45:31 -0500 Subject: [PATCH] [mqtt] Add Topic Name for Incoming Payload Not Supported (#15872) Signed-off-by: bill Co-authored-by: Bill Forsyth --- .../java/org/openhab/binding/mqtt/generic/ChannelState.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 71bdb24ee..607253f17 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;