mirror of
https://git.steelants.cz/SH/PHP_SMART_HOME_V3.git
synced 2026-10-11 17:54:34 +00:00
Id in name of Dewice Deleted
This commit is contained in:
1 parent
52c6d5e930
commit
5bb42132e2
1 file changed
+1
-1
@@ -43,7 +43,7 @@ class Automation extends Template
|
|||||||
$allSubDevicesData = SubDeviceManager::getAllSubDevices($deviceValue['device_id']);
|
$allSubDevicesData = SubDeviceManager::getAllSubDevices($deviceValue['device_id']);
|
||||||
foreach ($allSubDevicesData as $subDeviceKey => $subDeviceValue) {
|
foreach ($allSubDevicesData as $subDeviceKey => $subDeviceValue) {
|
||||||
$approvedSubDevices[$subDeviceValue['subdevice_id']] = [
|
$approvedSubDevices[$subDeviceValue['subdevice_id']] = [
|
||||||
'name' => $allDevicesData[$deviceKey]['name'] . $allDevicesData[$deviceKey]['device_id'],
|
'name' => $allDevicesData[$deviceKey]['name'],
|
||||||
'type' => $subDeviceValue['type'],
|
'type' => $subDeviceValue['type'],
|
||||||
'masterDevice' => $subDeviceValue['device_id'],
|
'masterDevice' => $subDeviceValue['device_id'],
|
||||||
];
|
];
|
||||||
|
|||||||
Reference in new issue
Block a user