mirror of https://github.com/nymea/nymea.git
Fix suggestLogging property for plugin devs
parent
5bcda4c25b
commit
29f88d744d
|
|
@ -320,7 +320,7 @@ void PluginMetadata::parse(const QJsonObject &jsonObject)
|
|||
|
||||
QStringList stateTypeProperties = {"id", "name", "displayName", "displayNameEvent", "type", "defaultValue", "cached",
|
||||
"unit", "minValue", "maxValue", "possibleValues", "writable", "displayNameAction",
|
||||
"ioType", "logged", "filter"};
|
||||
"ioType", "suggestLogging", "filter"};
|
||||
QStringList mandatoryStateTypeProperties = {"id", "name", "displayName", "displayNameEvent", "type", "defaultValue"};
|
||||
QPair<QStringList, QStringList> verificationResult = verifyFields(stateTypeProperties, mandatoryStateTypeProperties, st);
|
||||
|
||||
|
|
|
|||
|
|
@ -82,7 +82,8 @@
|
|||
"displayName": "Dummy int state",
|
||||
"displayNameEvent": "Dummy int state changed",
|
||||
"defaultValue": 10,
|
||||
"type": "int"
|
||||
"type": "int",
|
||||
"suggestLogging": true
|
||||
},
|
||||
{
|
||||
"id": "9dd6a97c-dfd1-43dc-acbd-367932742310",
|
||||
|
|
@ -308,7 +309,8 @@
|
|||
"displayName": "Dummy int state",
|
||||
"displayNameEvent": "Dummy int state changed",
|
||||
"defaultValue": 10,
|
||||
"type": "int"
|
||||
"type": "int",
|
||||
"suggestLogging": true
|
||||
},
|
||||
{
|
||||
"id": "978b0ba5-d008-41bd-b63d-a3bd23cb6469",
|
||||
|
|
|
|||
Loading…
Reference in New Issue