Added isReadonly field for devices values into database