From 7fb2430017ddd86fc39037e14c599e963bf11567 Mon Sep 17 00:00:00 2001 From: Michael Zanetti Date: Thu, 26 Sep 2019 10:51:46 +0200 Subject: [PATCH] don't find ShellyPlug[-S] devices, we don't support that yet --- shelly/devicepluginshelly.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/shelly/devicepluginshelly.cpp b/shelly/devicepluginshelly.cpp index f69a16ab..c93b8486 100644 --- a/shelly/devicepluginshelly.cpp +++ b/shelly/devicepluginshelly.cpp @@ -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;