don't find ShellyPlug[-S] devices, we don't support that yet

master
Michael Zanetti 2019-09-26 10:51:46 +02:00
parent 720394ebe1
commit 7fb2430017
1 changed files with 1 additions and 1 deletions

View File

@ -67,7 +67,7 @@ void DevicePluginShelly::discoverDevices(DeviceDiscoveryInfo *info)
// qCDebug(dcShelly()) << "Have entry" << entry;
QRegExp namePattern;
if (info->deviceClassId() == shelly1DeviceClassId) {
namePattern = QRegExp("^shelly(1|1pm|plug|plug-s)-[0-9A-Z]+$");
namePattern = QRegExp("^shelly(1|1pm)-[0-9A-Z]+$");
}
if (!entry.name().contains(namePattern)) {
continue;