split color light interface into color temperature light
This commit is contained in:
parent
a1d961eecc
commit
d3f1e199f2
@ -1,12 +1,6 @@
|
|||||||
{
|
{
|
||||||
"extends": "dimmablelight",
|
"extends": "colortemperaturelight",
|
||||||
"states": [
|
"states": [
|
||||||
{
|
|
||||||
"name": "colorTemperature",
|
|
||||||
"type": "int",
|
|
||||||
"minimumValue": "any",
|
|
||||||
"maximumValue": "any"
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"name": "color",
|
"name": "color",
|
||||||
"type": "QColor"
|
"type": "QColor"
|
||||||
|
|||||||
11
libnymea/interfaces/colortemperaturelight.json
Normal file
11
libnymea/interfaces/colortemperaturelight.json
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
{
|
||||||
|
"extends": "dimmablelight",
|
||||||
|
"states": [
|
||||||
|
{
|
||||||
|
"name": "colorTemperature",
|
||||||
|
"type": "int",
|
||||||
|
"minimumValue": "any",
|
||||||
|
"maximumValue": "any"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
@ -4,6 +4,7 @@
|
|||||||
<file>mediacontroller.json</file>
|
<file>mediacontroller.json</file>
|
||||||
<file>light.json</file>
|
<file>light.json</file>
|
||||||
<file>dimmablelight.json</file>
|
<file>dimmablelight.json</file>
|
||||||
|
<file>colortemperaturelight.json</file>
|
||||||
<file>colorlight.json</file>
|
<file>colorlight.json</file>
|
||||||
<file>garagegate.json</file>
|
<file>garagegate.json</file>
|
||||||
<file>gateway.json</file>
|
<file>gateway.json</file>
|
||||||
|
|||||||
Reference in New Issue
Block a user