issue-15 #21
@ -42,7 +42,7 @@
|
|||||||
[@detailExpand]="element == expandedElement ? 'expanded' : 'collapsed'">
|
[@detailExpand]="element == expandedElement ? 'expanded' : 'collapsed'">
|
||||||
<div class="condition-action-container">
|
<div class="condition-action-container">
|
||||||
<div class="action-container">
|
<div class="action-container">
|
||||||
<app-scriptaccount-action-editor [transition]="element" [scriptAccounts]="scriptAccounts"></app-scriptaccount-action-editor>
|
<app-scriptaccount-action-editor [transition]="element" [scriptAccounts]="scriptAccounts" [enableEditing]="true"></app-scriptaccount-action-editor>
|
||||||
</div>
|
</div>
|
||||||
<div class="condition-container">
|
<div class="condition-container">
|
||||||
<app-scriptaccount-condition-editor [conditions]="element.scriptAccountConditions" [scriptAccounts]="scriptAccounts"
|
<app-scriptaccount-condition-editor [conditions]="element.scriptAccountConditions" [scriptAccounts]="scriptAccounts"
|
||||||
|
@ -6,7 +6,6 @@
|
|||||||
"initial": false,
|
"initial": false,
|
||||||
"conditions": [
|
"conditions": [
|
||||||
{
|
{
|
||||||
"scriptAccount": "Luftfeuchtigkeit",
|
|
||||||
"minValue": 0,
|
"minValue": 0,
|
||||||
"maxValue": "50"
|
"maxValue": "50"
|
||||||
}
|
}
|
||||||
@ -18,7 +17,6 @@
|
|||||||
"initial": false,
|
"initial": false,
|
||||||
"conditions": [
|
"conditions": [
|
||||||
{
|
{
|
||||||
"scriptAccount": "Luftfeuchtigkeit",
|
|
||||||
"minValue": "50",
|
"minValue": "50",
|
||||||
"maxValue": "75"
|
"maxValue": "75"
|
||||||
}
|
}
|
||||||
@ -29,14 +27,13 @@
|
|||||||
],
|
],
|
||||||
"transitions": [
|
"transitions": [
|
||||||
{
|
{
|
||||||
"scriptAccountActions": [],
|
"scriptAccountActions": [
|
||||||
"scriptAccountConditions": [
|
|
||||||
{
|
{
|
||||||
"scriptAccount": "Luftfeuchtigkeit",
|
"changingValue": 10,
|
||||||
"minValue": "50",
|
"scriptAccount": "Temperature"
|
||||||
"maxValue": "75"
|
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
|
"scriptAccountConditions": [],
|
||||||
"startingState": "Sonnig",
|
"startingState": "Sonnig",
|
||||||
"endingState": "Wolkig"
|
"endingState": "Wolkig"
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user