From 5bb42132e2fdf361e0bd681986b353abf351cdfc Mon Sep 17 00:00:00 2001 From: JonatanRek Date: Fri, 20 Sep 2019 19:35:35 +0200 Subject: [PATCH] Id in name of Dewice Deleted --- app/views/Automation.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/Automation.php b/app/views/Automation.php index f267453..3000477 100644 --- a/app/views/Automation.php +++ b/app/views/Automation.php @@ -43,7 +43,7 @@ class Automation extends Template $allSubDevicesData = SubDeviceManager::getAllSubDevices($deviceValue['device_id']); foreach ($allSubDevicesData as $subDeviceKey => $subDeviceValue) { $approvedSubDevices[$subDeviceValue['subdevice_id']] = [ - 'name' => $allDevicesData[$deviceKey]['name'] . $allDevicesData[$deviceKey]['device_id'], + 'name' => $allDevicesData[$deviceKey]['name'], 'type' => $subDeviceValue['type'], 'masterDevice' => $subDeviceValue['device_id'], ];