diff --git a/libnymea/interfaces/interfaces.qrc b/libnymea/interfaces/interfaces.qrc index 2faab126..521b87f5 100644 --- a/libnymea/interfaces/interfaces.qrc +++ b/libnymea/interfaces/interfaces.qrc @@ -41,6 +41,7 @@ extendedblind.json extendedshutter.json smartlock.json + system.json diff --git a/libnymea/interfaces/system.json b/libnymea/interfaces/system.json new file mode 100644 index 00000000..641ca34d --- /dev/null +++ b/libnymea/interfaces/system.json @@ -0,0 +1,3 @@ +{ + "description": "This interface is used to mark device classes as system-internal. The user interface will likely hide it." +} diff --git a/plugins/mock/devicepluginmock.json b/plugins/mock/devicepluginmock.json index 348e8cd5..f9c0807a 100644 --- a/plugins/mock/devicepluginmock.json +++ b/plugins/mock/devicepluginmock.json @@ -31,7 +31,7 @@ "name": "mock", "displayName": "Mock Device", "deviceIcon": "Tune", - "interfaces": ["gateway", "light", "mediacontroller", "battery"], + "interfaces": ["system", "light", "gateway", "battery"], "basicTags": [ "Device", "Actuator", @@ -200,7 +200,7 @@ "id": "ab4257b3-7548-47ee-9bd4-7dc3004fd197", "name": "mockDeviceAuto", "displayName": "Mock Device (Auto created)", - "interfaces": ["gateway"], + "interfaces": ["system"], "basicTags": [ "Device", "Actuator", @@ -320,7 +320,7 @@ "id": "9e03144c-e436-4eea-82d9-ccb33ef778db", "name": "mockPushButton", "displayName": "Mock Device (Push Button)", - "interfaces": ["gateway"], + "interfaces": ["system"], "basicTags": [ "Device", "Actuator", @@ -420,7 +420,7 @@ "name": "mockDisplayPin", "displayName": "Mock Device (Display Pin)", "deviceIcon": "Tune", - "interfaces": ["gateway"], + "interfaces": ["system"], "basicTags": [ "Device", "Actuator", @@ -529,7 +529,7 @@ "name": "mockParent", "displayName": "Mock Device (Parent)", "deviceIcon": "Tune", - "interfaces": ["gateway"], + "interfaces": ["system"], "basicTags": [ "Device", "Actuator",