]> git.basschouten.com Git - openhab-addons.git/commitdiff
[mqtt] Add Topic Name for Incoming Payload Not Supported (#15872)
authorbillfor <billfor@users.noreply.github.com>
Sat, 11 Nov 2023 12:45:31 +0000 (07:45 -0500)
committerGitHub <noreply@github.com>
Sat, 11 Nov 2023 12:45:31 +0000 (13:45 +0100)
Signed-off-by: bill <git@billforsyth.net>
Co-authored-by: Bill Forsyth <git@billforsyth.net>
bundles/org.openhab.binding.mqtt.generic/src/main/java/org/openhab/binding/mqtt/generic/ChannelState.java

index 71bdb24ee0180771adcafab4acfc1db42ab385a0..607253f17bd8245431661a5126a8333a96068876 100644 (file)
@@ -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;