Missed Debug msg

This commit is contained in:
JonatanRek 2019-08-25 14:08:00 +02:00
parent b1e19dd64d
commit a7f59fb609

View File

@ -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,
]; ];
} }