Some quick fix
This commit is contained in:
parent
3669fde596
commit
cdcddffc69
@ -9,7 +9,7 @@ class UsersApi extends ApiController{
|
||||
foreach ($users as $key => $user) {
|
||||
$response[] = [
|
||||
"userName" => $user['username'],
|
||||
"homeStatus" => ($user['at_home']) ? true : false,
|
||||
"homeStatus" => ($user['at_home'] == 'true') ? true : false,
|
||||
"avatarUrl" => UserManager::getAvatarUrl($user['user_id']),
|
||||
];
|
||||
}
|
||||
|
@ -75,7 +75,7 @@ class GoogleHomeDeviceTypes {
|
||||
'control-light' => 'action.devices.types.LIGHT',
|
||||
'control-socket' => 'action.devices.types.OUTLET',
|
||||
'control-temp' => 'action.devices.types.THERMOSTAT',
|
||||
'control-media' => 'action.devices.types.REMOTECONTROL',
|
||||
'control-media' => 'action.devices.types.REMOTE',
|
||||
];
|
||||
|
||||
private static $traidWordBook = [
|
||||
@ -101,7 +101,7 @@ class GoogleHomeDeviceTypes {
|
||||
'volumeDefaultPercentage' => 6,
|
||||
'volumeMaxLevel' => 100,
|
||||
'levelStepSize' => 2,
|
||||
'commandOnlyVolume' => false,
|
||||
'commandOnlyVolume' => true,
|
||||
],
|
||||
'media_status'=> [
|
||||
'transportControlSupportedCommands' => [
|
||||
|
Loading…
Reference in New Issue
Block a user