diff --git a/libnymea/interfaces/colorlight.json b/libnymea/interfaces/colorlight.json index 6a76c1ea..93f4b851 100644 --- a/libnymea/interfaces/colorlight.json +++ b/libnymea/interfaces/colorlight.json @@ -1,12 +1,6 @@ { - "extends": "dimmablelight", + "extends": "colortemperaturelight", "states": [ - { - "name": "colorTemperature", - "type": "int", - "minimumValue": "any", - "maximumValue": "any" - }, { "name": "color", "type": "QColor" diff --git a/libnymea/interfaces/colortemperaturelight.json b/libnymea/interfaces/colortemperaturelight.json new file mode 100644 index 00000000..05c23c11 --- /dev/null +++ b/libnymea/interfaces/colortemperaturelight.json @@ -0,0 +1,11 @@ +{ + "extends": "dimmablelight", + "states": [ + { + "name": "colorTemperature", + "type": "int", + "minimumValue": "any", + "maximumValue": "any" + } + ] +} diff --git a/libnymea/interfaces/interfaces.qrc b/libnymea/interfaces/interfaces.qrc index bcf2a972..0af39325 100644 --- a/libnymea/interfaces/interfaces.qrc +++ b/libnymea/interfaces/interfaces.qrc @@ -4,6 +4,7 @@ mediacontroller.json light.json dimmablelight.json + colortemperaturelight.json colorlight.json garagegate.json gateway.json