mirror of
https://github.com/Koenkk/zigbee2mqtt.git
synced 2026-07-09 05:21:38 +00:00
Fix minor type in entityPublish.js (#2311)
This commit is contained in:
committed by
Koen Kanters
parent
fc98b951ff
commit
3dbf454d07
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user