mirror of
https://git.steelants.cz/SH/PHP_SMART_HOME_V3.git
synced 2026-10-11 17:54:34 +00:00
Missed Debug msg
This commit is contained in:
1 parent
b1e19dd64d
commit
a7f59fb609
1 file changed
+1
-1
@@ -23,7 +23,7 @@ class Automation extends Template
|
|||||||
foreach (json_decode($automationData['do_something']) as $deviceId => $subDeviceState) {
|
foreach (json_decode($automationData['do_something']) as $deviceId => $subDeviceState) {
|
||||||
$subDeviceMasterDeviceData = DeviceManager::getDeviceById($deviceId);
|
$subDeviceMasterDeviceData = DeviceManager::getDeviceById($deviceId);
|
||||||
$doSomething[$deviceId] = [
|
$doSomething[$deviceId] = [
|
||||||
'name' => $subDeviceMasterDeviceData['name'] . $subDeviceMasterDeviceData['device_id'] ,
|
'name' => $subDeviceMasterDeviceData['name'],
|
||||||
'state' => $subDeviceState,
|
'state' => $subDeviceState,
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user