hey ck2003, thank you for your reply and your “Variable Device” example. But I knew this already and thinking about a slightly different matter.
on this screen (http://fs1.directupload.net/images/150730/prct8svq.png) you see a switch with a text block (maybe a variable?). And this is was i want. A variable, a switch und maybe a Button (like this: http://fs1.directupload.net/images/150730/x4zi5l4h.png) “on same line”
i want to merge this to “one device”
{
"id": "temp-sensors-warning-gui-switch",
"name": "Temperaturwarnung",
"class": "DummySwitch"
},
{
"id": "temp-sensors-warning-gui-limit",
"name": "Temperatur Limit",
"class": "VariablesDevice",
"variables": [
{
"name": "Min",
"expression": "($temp-sensors-warning-min)",
"type": "number",
"unit": "°C"
},
{
"name": "Max",
"expression": "($temp-sensors-warning-max)",
"type": "number",
"unit": "°C"
}
]
}