Fix minor type in entityPublish.js (#2311)

This commit is contained in:
Jorge Schrauwen 2019-11-11 17:27:26 +01:00 committed by Koen Kanters
parent fc98b951ff
commit 3dbf454d07

View File

@ -37,7 +37,7 @@ class EntityPublish extends BaseExtension {
}
const ID = match[1].replace(`${settings.get().mqtt.base_topic}/`, '');
// If we didn't repalce base_topic we received something we don't care about
// If we didn't replace base_topic we received something we don't care about
if (ID === match[1] || ID.match(/bridge/)) {
return null;
}