49 lines
1.3 KiB
JSON
49 lines
1.3 KiB
JSON
|
{
|
||
|
"componentName": "Weather(Child)",
|
||
|
"componentDescription": "",
|
||
|
"states": [
|
||
|
{
|
||
|
"initial": false,
|
||
|
"conditions": [
|
||
|
{
|
||
|
"scriptAccount": "Temperature",
|
||
|
"minValue": 0,
|
||
|
"maxValue": "50"
|
||
|
}
|
||
|
],
|
||
|
"stateLabel": "Sonnig",
|
||
|
"stateDescription": "Die Sonne scheint"
|
||
|
},
|
||
|
{
|
||
|
"initial": false,
|
||
|
"conditions": [
|
||
|
{
|
||
|
"scriptAccount": "Temperature",
|
||
|
"minValue": "50",
|
||
|
"maxValue": "75"
|
||
|
}
|
||
|
],
|
||
|
"stateLabel": "Wolkig",
|
||
|
"stateDescription": ""
|
||
|
}
|
||
|
],
|
||
|
"transitions": [
|
||
|
{
|
||
|
"scriptAccountActions": [
|
||
|
{
|
||
|
"changingValue": 10,
|
||
|
"scriptAccount": "Temperature"
|
||
|
}
|
||
|
],
|
||
|
"scriptAccountConditions": [
|
||
|
{
|
||
|
"scriptAccount": "Temperature",
|
||
|
"minValue": 0,
|
||
|
"maxValue": "10"
|
||
|
}
|
||
|
],
|
||
|
"startingState": "Sonnig",
|
||
|
"endingState": "Wolkig"
|
||
|
}
|
||
|
]
|
||
|
}
|