Missed Debug msg
This commit is contained in:
parent
b1e19dd64d
commit
a7f59fb609
@ -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,
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user