add name to automatization

This commit is contained in:
unknown
2019-10-08 18:23:57 +02:00
parent 9ae039a4b5
commit 68da935592
8 changed files with 38 additions and 18 deletions

View File

@@ -28,7 +28,7 @@ class Automation extends Template
];
}
$automations[$automationData['automation_id']] = [
'name' => '',
'name' => $automationData['name'],
'onDays' => json_decode($automationData['on_days']),
'ifSomething' => $automationData['if_something'],
'doSomething' => $doSomething,