Create a Hue Tap group when adding a Hue Tap switch (commit 2/2)
@@ -1254,7 +1254,8 @@ void DeRestPluginPrivate::checkSensorGroup(Sensor *sensor)
}
}
else if (sensor->modelId() == QLatin1String("RB01") ||
- sensor->modelId() == QLatin1String("RM01"))
+ sensor->modelId() == QLatin1String("RM01") ||
+ sensor->modelId() == QLatin1String("ZGPSWITCH"))
{
// check if group is created for other endpoint
for (quint8 ep = 0x0A; !group && ep < 0x0F; ep++)
