mirror of
https://git.steelants.cz/SH/PHP_SMART_HOME_V3.git
synced 2026-10-11 17:54:34 +00:00
Keep record of record origin
This commit is contained in:
1 parent
1f49391b36
commit
2410441b88
4 files changed
+21
-12
No files matched your search
@@ -113,7 +113,7 @@ class EndpointsApi extends ApiController{
|
||||
}
|
||||
|
||||
$subDeviceLastReordValue[$key] = $value['value'];
|
||||
RecordManager::create($device['device_id'], $key, round($value['value'],3));
|
||||
RecordManager::create($device['device_id'], $key, round($value['value'],3), 'device');
|
||||
$logManager->write("[API] Device_ID " . $device['device_id'] . " writed value " . $key . ' ' . $value['value'], LogRecordTypes::INFO);
|
||||
|
||||
//notification
|
||||
|
||||
Reference in new issue
Block a user