Enable Develco to emit audio using state.alert
Device doesn't support strobe
@@ -2145,6 +2145,10 @@ int DeRestPluginPrivate::setWarningDeviceState(const ApiRequest &req, ApiRespons
{
task.options = 0x12;
}
+ else if (taskRef.lightNode->modelId() == QLatin1String("SIRZB-110")) // Doesn't support strobe
+ {
+ task.options = 0x13;
+ }
task.duration = 1;
}
else if (alert == "lselect")
@@ -2155,6 +2159,10 @@ int DeRestPluginPrivate::setWarningDeviceState(const ApiRequest &req, ApiRespons
{
task.options = 0x12;
}
+ else if (taskRef.lightNode->modelId() == QLatin1String("SIRZB-110")) // Doesn't support strobe
+ {
+ task.options = 0x13;
+ }
task.duration = onTime > 0 ? onTime : 300;
}
else if (alert == "blink")
