#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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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});
}
}