#3159 Fix incorrect unbind message (#3172)

This commit is contained in:
Jorge Schrauwen
2020-03-21 21:33:00 +01:00
committed by GitHub
parent 2f557bd397
commit e226cd229e
+1 -1
View File
@@ -79,7 +79,7 @@ class DeviceBind extends BaseExtension {
}
if (!attemptedToBindSomething) {
logger.error(`Nothing to bind from '${sourceName}' to '${targetName}'`);
logger.error(`Nothing to ${type} from '${sourceName}' to '${targetName}'`);
this.mqtt.log(`device_${type}_failed`, {from: sourceName, to: targetName});
}
}