diff --git a/libnymea/integrations/thingdescriptor.h b/libnymea/integrations/thingdescriptor.h index 756871be..f24b4c78 100644 --- a/libnymea/integrations/thingdescriptor.h +++ b/libnymea/integrations/thingdescriptor.h @@ -41,6 +41,7 @@ class LIBNYMEA_EXPORT ThingDescriptor { Q_GADGET Q_PROPERTY(QUuid id READ id) + Q_PROPERTY(QUuid thingClassId READ thingClassId) Q_PROPERTY(QUuid thingId READ thingId USER true) Q_PROPERTY(QString title READ title) Q_PROPERTY(QString description READ description) diff --git a/tests/auto/api.json b/tests/auto/api.json index b7ded3e8..343b4cea 100644 --- a/tests/auto/api.json +++ b/tests/auto/api.json @@ -2803,6 +2803,7 @@ "r:o:deviceId": "Uuid", "r:o:thingId": "Uuid", "r:params": "$ref:ParamList", + "r:thingClassId": "Uuid", "r:title": "String" }, "DeviceDescriptors": [ @@ -3139,6 +3140,7 @@ "r:id": "Uuid", "r:o:thingId": "Uuid", "r:params": "$ref:ParamList", + "r:thingClassId": "Uuid", "r:title": "String" }, "ThingDescriptors": [