mirror of
https://git.steelants.cz/SH/PHP_SMART_HOME_V3.git
synced 2026-10-11 17:54:34 +00:00
FTP to GIT sync
This commit is contained in:
1 parent
1ea7e600c2
commit
aa8235c1bf
12 files changed
+169
-85
No files matched your search
+1
-3
@@ -93,10 +93,7 @@ class Home extends Template
|
||||
}
|
||||
|
||||
$subDevices[$subDeviceData['subdevice_id']] = [
|
||||
'data' => $data,
|
||||
'events'=> $events,
|
||||
'labels' => $labels,
|
||||
'range' => RANGES[$subDevice['type']],
|
||||
'type' => $subDeviceData['type'],
|
||||
'unit' => $subDeviceData['unit'],
|
||||
'comError' => $connectionError,
|
||||
@@ -125,6 +122,7 @@ class Home extends Template
|
||||
'room' => $deviceData['room_id'],
|
||||
'token' => $deviceData['token'],
|
||||
'sleepTime' => $deviceData['sleep_time'],
|
||||
'approved' => $deviceData['approved'],
|
||||
'permission' => $permissionArray,
|
||||
'owner' => $deviceData['owner'],
|
||||
'userIsAdmin' => $userIsDeviceAdmin,
|
||||
|
||||
Reference in new issue
Block a user