Fix issue #229: router devices can't be managed by zigbee2mqtt

This commit is contained in:
sebastianheierhoff committed 2018-08-29 19:22:36 +02:00
1 parent ed5c52654f
commit ad43d61f28
1 file changed
+1 -1
+1 -1
View File
@@ -10,7 +10,7 @@ const objectAssignDeep = require(`object-assign-deep`);
const mqttConfigRegex = new RegExp(`${settings.get().mqtt.base_topic}/bridge/config/\\w+`, 'g');
const mqttDeviceRegex = new RegExp(`${settings.get().mqtt.base_topic}/[\\w\\s\\d.-]+/set`, 'g');
const mqttDevicePrefixRegex = new RegExp(`${settings.get().mqtt.base_topic}/[\\w\\s\\d.-]
+/[\\w\\s\\d\.\-]+/set`, 'g');
+/[\\w\\s\\d.-]+/set`, 'g');
const pollInterval = 60 * 1000; // seconds * 1000.
const softResetTimeout = 3600 * 1000; // seconds * 1000.