issue-15 #21

Merged
sebastian merged 60 commits from issue-15 into main 2024-03-22 08:46:49 +01:00
2 changed files with 5 additions and 8 deletions
Showing only changes of commit 413d5eb925 - Show all commits

View File

@ -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"

View File

@ -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"
} }