Fix naming FoH switches Hue Tap
@@ -1877,9 +1877,16 @@ void DeRestPluginPrivate::gpDataIndication(const deCONZ::GpDataIndication &ind)
}
if (sensorNode.name().isEmpty())
+ {
+ if (sensorNode.modelId() == QLatin1String("FOHSWITCH"))
+ {
+ sensorNode.setName(QString("FoH Switch %2").arg(sensorNode.id()));
+ }
+ else
{
sensorNode.setName(QString("Hue Tap %2").arg(sensorNode.id()));
}
+ }
checkSensorGroup(&sensorNode);
